diff --git a/Cargo.toml b/Cargo.toml index 6bc1f7f3..6076b6ac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,6 +34,7 @@ cdk-cln = { version = "0.1", path = "./crates/cdk-cln", default-features = false cdk-axum = { version = "0.1", path = "./crates/cdk-axum", default-features = false } cdk-fake-wallet = { version = "0.1", path = "./crates/cdk-fake-wallet", default-features = false } cdk-strike = { version = "0.1", path = "./crates/cdk-strike", default-features = false } +clap = { version = "4.4.8", features = ["derive", "env", "default"] } tokio = { version = "1", default-features = false } thiserror = "1" tracing = { version = "0.1", default-features = false, features = ["attributes", "log"] } @@ -46,6 +47,7 @@ web-sys = { version = "0.3.69", default-features = false, features = ["console" uuid = { version = "1", features = ["v4"] } lightning-invoice = { version = "0.31", features = ["serde"] } home = "0.5.9" +rand = "0.8.5" [profile] diff --git a/crates/cdk-axum/Cargo.toml b/crates/cdk-axum/Cargo.toml index 6e8076f9..cb1a4ce1 100644 --- a/crates/cdk-axum/Cargo.toml +++ b/crates/cdk-axum/Cargo.toml @@ -9,12 +9,11 @@ rust-version.workspace = true description = "Cashu CDK axum webserver" [dependencies] -anyhow = "1.0.75" +anyhow.workspace = true async-trait.workspace = true axum.workspace = true -axum-macros = "0.4.1" cdk = { workspace = true, default-features = false, features = ["mint"] } tokio.workspace = true tower-http = { version = "0.5.2", features = ["cors"] } tracing.workspace = true -futures = "0.3.28" +futures.workspace = true diff --git a/crates/cdk-cli/Cargo.toml b/crates/cdk-cli/Cargo.toml index e217888f..cdd09e46 100644 --- a/crates/cdk-cli/Cargo.toml +++ b/crates/cdk-cli/Cargo.toml @@ -12,18 +12,18 @@ license.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -anyhow = "1.0.75" +anyhow.workspace = true bip39.workspace = true cdk = { workspace = true, default-features = false, features = ["wallet"] } cdk-redb = { workspace = true, default-features = false, features = ["wallet"] } cdk-sqlite = { workspace = true, default-features = false, features = ["wallet"] } -clap = { version = "4.4.8", features = ["derive", "env"] } +clap.workspace = true serde = { workspace = true, features = ["derive"] } serde_json.workspace = true tokio.workspace = true tracing.workspace = true tracing-subscriber.workspace = true -rand = "0.8.5" +rand.workspace = true home.workspace = true nostr-sdk = { version = "0.32.0", default-features = false, features = [ "nip04", diff --git a/crates/cdk-fake-wallet/Cargo.toml b/crates/cdk-fake-wallet/Cargo.toml index 37d27e70..64baf052 100644 --- a/crates/cdk-fake-wallet/Cargo.toml +++ b/crates/cdk-fake-wallet/Cargo.toml @@ -21,4 +21,4 @@ uuid.workspace = true lightning-invoice.workspace = true lightning = "0.0.123" tokio-stream = "0.1.15" -rand = "0.8.5" +rand.workspace = true diff --git a/crates/cdk-mintd/Cargo.toml b/crates/cdk-mintd/Cargo.toml index 0608a8e2..278a81c0 100644 --- a/crates/cdk-mintd/Cargo.toml +++ b/crates/cdk-mintd/Cargo.toml @@ -10,9 +10,8 @@ license.workspace = true description = "CDK mint binary" [dependencies] -anyhow = "1.0.75" -axum = "0.7.5" -axum-macros = "0.4.1" +anyhow.workspace = true +axum.workspace = true cdk = { workspace = true, default-features = false, features = ["mint"] } cdk-redb = { workspace = true, default-features = false, features = ["mint"] } cdk-sqlite = { workspace = true, default-features = false, features = ["mint"] } @@ -21,11 +20,11 @@ cdk-fake-wallet = { workspace = true, default-features = false } cdk-strike.workspace = true cdk-axum = { workspace = true, default-features = false } config = { version = "0.13.3", features = ["toml"] } -clap = { version = "4.4.8", features = ["derive", "env", "default"] } +clap.workspace = true tokio.workspace = true tracing.workspace = true tracing-subscriber.workspace = true -futures = "0.3.28" +futures.workspace = true serde.workspace = true bip39.workspace = true tower-http = { version = "0.5.2", features = ["cors"] } diff --git a/crates/cdk/Cargo.toml b/crates/cdk/Cargo.toml index e539eae3..290d250f 100644 --- a/crates/cdk/Cargo.toml +++ b/crates/cdk/Cargo.toml @@ -26,7 +26,6 @@ bitcoin = { workspace = true, features = [ "rand-std", ] } # lightning-invoice uses v0.30 ciborium = { version = "0.2.2", default-features = false, features = ["std"] } -http = "1.0" lightning-invoice.workspace = true once_cell = "1.19" reqwest = { version = "0.12", default-features = false, features = [ @@ -74,6 +73,6 @@ name = "proof_selection" required-features = ["wallet"] [dev-dependencies] -rand = "0.8.5" +rand.workspace = true bip39.workspace = true anyhow.workspace = true