From 55b10714b85cf3b9d67084c97f1030a5680bae10 Mon Sep 17 00:00:00 2001 From: Rik Huijzer Date: Wed, 9 Apr 2025 10:18:29 +0200 Subject: [PATCH 1/2] fix: fix 3 cargo warnings --- crates/rmcp/Cargo.toml | 2 +- examples/rig-integration/Cargo.toml | 2 +- examples/wasi/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/rmcp/Cargo.toml b/crates/rmcp/Cargo.toml index 738f2446..56242b3a 100644 --- a/crates/rmcp/Cargo.toml +++ b/crates/rmcp/Cargo.toml @@ -51,7 +51,7 @@ rand = { version = "0.9", optional = true } tokio-stream = { version = "0.1", optional = true } # macro -rmcp-macros = { version = "0.1", workspace = true, optional = true } +rmcp-macros = { workspace = true, optional = true } [features] default = ["base64", "macros", "server"] diff --git a/examples/rig-integration/Cargo.toml b/examples/rig-integration/Cargo.toml index 4fb7db9d..8fd14eb0 100644 --- a/examples/rig-integration/Cargo.toml +++ b/examples/rig-integration/Cargo.toml @@ -18,7 +18,7 @@ rmcp = { path = "../../crates/rmcp", features = [ "client", "transport-child-process", "transport-sse", -], no-default-features = true } +] } anyhow = "1.0" serde_json = "1" serde = { version = "1", features = ["derive"] } diff --git a/examples/wasi/Cargo.toml b/examples/wasi/Cargo.toml index bf9b948a..509bfde4 100644 --- a/examples/wasi/Cargo.toml +++ b/examples/wasi/Cargo.toml @@ -17,7 +17,7 @@ readme = { workspace = true } crate-type = ["cdylib"] [dependencies] -wasi = { version = "0.14.2+wasi-0.2.4"} +wasi = { version = "0.14.2"} tokio = { version = "1", features = ["rt", "io-util", "sync", "macros", "time"] } rmcp= { path = "../../crates/rmcp", features = ["server", "macros"] } serde = { version = "1", features = ["derive"]} From e735fa0687e19c055fa4a3cf5f6dfed6db92af55 Mon Sep 17 00:00:00 2001 From: Rik Huijzer Date: Wed, 9 Apr 2025 11:23:16 +0200 Subject: [PATCH 2/2] revert `version = "1.0"` removal --- crates/rmcp/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/rmcp/Cargo.toml b/crates/rmcp/Cargo.toml index 56242b3a..738f2446 100644 --- a/crates/rmcp/Cargo.toml +++ b/crates/rmcp/Cargo.toml @@ -51,7 +51,7 @@ rand = { version = "0.9", optional = true } tokio-stream = { version = "0.1", optional = true } # macro -rmcp-macros = { workspace = true, optional = true } +rmcp-macros = { version = "0.1", workspace = true, optional = true } [features] default = ["base64", "macros", "server"]