Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions cross-chain-airdrop/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion miners/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ name = "rustchain-miner"
path = "src/main.rs"

[dependencies]
reqwest = { version = "0.13", features = ["json", "rustls-tls"], default-features = false }
reqwest = { version = "0.13", features = ["json", "rustls"], default-features = false }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
sha2 = "0.11"
Expand Down
13 changes: 0 additions & 13 deletions rips/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,9 @@ full = ["network"]
name = "rustchain"
path = "src/lib.rs"

[[bin]]
name = "rustchain-node"
path = "src/bin/node.rs"
required-features = ["network"]

[[bin]]
name = "rustchain-miner"
path = "src/bin/miner.rs"

[dev-dependencies]
criterion = "0.8"

[[bench]]
name = "entropy_bench"
harness = false

[profile.release]
opt-level = 3
lto = true
Expand Down
4 changes: 2 additions & 2 deletions rust-tools/examples/cli-wallet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ keywords = ["rustchain", "wallet", "cli", "cryptocurrency", "blockchain"]
categories = ["command-line-utilities", "cryptography"]

[dependencies]
rustchain-sdk = { path = "../../sdk", version = "0.1.0" }
rustchain-sdk = { path = "../rustchain-sdk", version = "0.1.0" }
tokio = { version = "1.0", features = ["full"] }
clap = { version = "4.0", features = ["derive"] }
serde = { version = "1.0", features = ["derive"] }
Expand All @@ -35,4 +35,4 @@ path = "src/main.rs"
[profile.release]
lto = true
codegen-units = 1
panic = "abort"
panic = "abort"
5 changes: 5 additions & 0 deletions rust-tools/examples/cli-wallet/src/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// SPDX-License-Identifier: MIT

fn main() {
println!("rustchain-wallet example");
}
6 changes: 3 additions & 3 deletions rust-tools/examples/rustchain-sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1.0", features = ["v4", "serde"] }
base64 = "0.21"
hex = "0.4"
bip39 = { version = "2.0", optional = true }
ed25519-dalek = { version = "2.0", optional = true }

[dev-dependencies]
tokio-test = "0.4"
wiremock = "0.5"

[features]
default = []
wallet = ["bip39", "ed25519-dalek"]
bip39 = { version = "2.0", optional = true }
ed25519-dalek = { version = "2.0", optional = true }
wallet = ["dep:bip39", "dep:ed25519-dalek"]
3 changes: 3 additions & 0 deletions rust-tools/examples/rustchain-sdk/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# RustChain SDK Example

Minimal SDK crate scaffold for RustChain Rust tooling examples.
7 changes: 7 additions & 0 deletions rust-tools/examples/rustchain-sdk/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
//! Minimal RustChain SDK entry point.
//!
//! The example SDK crate is intentionally small until the full client API is
//! implemented, but it must still expose a valid crate root for Cargo.

/// SDK crate version from Cargo metadata.
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
2 changes: 1 addition & 1 deletion rustchain-miner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ clap = { version = "4.4", features = ["derive", "env"] }
tokio = { version = "1.35", features = ["full"] }

# HTTP/HTTPS (reqwest with rustls TLS)
reqwest = { version = "0.13", features = ["json", "rustls-tls"], default-features = false }
reqwest = { version = "0.13", features = ["json", "rustls"], default-features = false }

# Error handling
thiserror = "2.0"
Expand Down