Skip to content

Commit

Permalink
feat: tonic msrv
Browse files Browse the repository at this point in the history
  • Loading branch information
thesimplekid committed Jan 21, 2025
1 parent 6e8c823 commit 84ac759
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 8 deletions.
2 changes: 1 addition & 1 deletion crates/cdk-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ bip39 = "2.0"
cdk = { path = "../cdk", version = "0.6.0", default-features = false, features = ["wallet"]}
cdk-redb = { path = "../cdk-redb", version = "0.6.0", default-features = false, features = ["wallet"] }
cdk-sqlite = { path = "../cdk-sqlite", version = "0.6.0", default-features = false, features = ["wallet"] }
clap = { version = "4.4.8", features = ["derive", "env", "default"] }
clap = { version = "~4.0.32", features = ["derive"] }
serde = { version = "1", default-features = false, features = ["derive"] }
serde_json = "1"
tokio = { version = "1", default-features = false }
Expand Down
16 changes: 11 additions & 5 deletions crates/cdk-mint-rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,15 @@ anyhow = "1"
cdk = { path = "../cdk", version = "0.6.0", default-features = false, features = [
"mint",
] }
clap = { version = "4.4.8", features = ["derive", "env", "default"] }
tonic = { version = "0.12.2", features = [
clap = { version = "~4.0.32", features = ["derive"] }
# tonic = { version = ">=0.9, <0.12", features = [
# "channel",
# "tls",
# "tls-webpki-roots",
# ] }
tonic = { version = "0.9", features = [
"channel",
"tls",
"tls-native-roots",
"tls-webpki-roots",
] }
tracing = { version = "0.1", default-features = false, features = [
Expand All @@ -28,8 +32,10 @@ tokio = { version = "1", default-features = false }
serde_json = "1"
serde = { version = "1", features = ["derive"] }
thiserror = "1"
prost = "0.13.3"
# prost = ">=0.11.0, <0.13.0"
prost = "0.11.0"


[build-dependencies]
tonic-build = "0.12.2"
# tonic-build = ">=0.9, <0.12"
tonic-build = "0.9"
2 changes: 1 addition & 1 deletion crates/cdk-mint-rpc/src/bin/mint_rpc_cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
tracing_subscriber::fmt().with_env_filter(env_filter).init();

let cli = Cli::parse();
let tls_config = ClientTlsConfig::new().with_enabled_roots();
let tls_config = ClientTlsConfig::new();
let channel = Channel::from_shared(cli.addr.to_string())?
.tls_config(tls_config)?
.connect()
Expand Down
2 changes: 1 addition & 1 deletion crates/cdk-mintd/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ cdk-strike = { path = "../cdk-strike", version = "0.6.0" }
cdk-axum = { path = "../cdk-axum", version = "0.6.0", default-features = false }
cdk-mint-rpc = { path = "../cdk-mint-rpc", version = "0.1.0", default-features = false }
config = { version = "0.13.3", features = ["toml"] }
clap = { version = "4.4.8", features = ["derive", "env", "default"] }
clap = { version = "~4.0.32", features = ["derive"] }
tokio = { version = "1", default-features = false }
tracing = { version = "0.1", default-features = false, features = [
"attributes",
Expand Down
7 changes: 7 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,13 @@
cargo update -p async-compression --precise 0.4.3
cargo update -p zstd-sys --precise 2.0.8+zstd.1.5.5
cargo update -p clap_lex --precise 0.3.0
cargo update -p regex --precise 1.9.6
cargo update -p petgraph --precise 0.6.2
cargo update -p [email protected] --precise 0.15.0
cargo update -p async-stream --precise 0.3.5
cargo update -p home --precise 0.5.5
# For wasm32-unknown-unknown target
cargo update -p bumpalo --precise 3.12.0
cargo update -p moka --precise 0.11.1
Expand Down

0 comments on commit 84ac759

Please sign in to comment.