Skip to content

Commit 29706d0

Browse files
alexhancockbug-ops
authored andcommitted
fix(build): cargo.toml cleanup (modelcontextprotocol#298)
1 parent b4c2954 commit 29706d0

File tree

6 files changed

+9
-5
lines changed

6 files changed

+9
-5
lines changed

examples/clients/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition = "2024"
77
publish = false
88

99
[dependencies]
10-
rmcp = { path = "../../crates/rmcp", features = [
10+
rmcp = { workspace = true, features = [
1111
"client",
1212
"transport-sse-client",
1313
"reqwest",

examples/rig-integration/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ keywords = { workspace = true }
1010
homepage = { workspace = true }
1111
categories = { workspace = true }
1212
readme = { workspace = true }
13+
publish = false
1314

1415
[dependencies]
1516
rig-core = "0.13.0"
1617
tokio = { version = "1", features = ["full"] }
17-
rmcp = { path = "../../crates/rmcp", features = [
18+
rmcp = { workspace = true, features = [
1819
"client",
1920
"reqwest",
2021
"transport-child-process",

examples/servers/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition = "2024"
77
publish = false
88

99
[dependencies]
10-
rmcp = { path = "../../crates/rmcp", features = [
10+
rmcp = { workspace = true, features = [
1111
"server",
1212
"transport-sse-server",
1313
"transport-io",

examples/simple-chat-client/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "simple-chat-client"
33
version = "0.1.0"
44
edition = "2021"
5+
publish = false
56

67
[dependencies]
78
tokio = { version = "1", features = ["full"] }

examples/transport/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@ keywords = { workspace = true }
1010
homepage = { workspace = true }
1111
categories = { workspace = true }
1212
readme = { workspace = true }
13+
publish = false
1314

1415
[package.metadata.docs.rs]
1516
all-features = true
1617

1718
[dependencies]
18-
rmcp = { path = "../../crates/rmcp", features = ["server", "client"] }
19+
rmcp = { workspace = true, features = ["server", "client"] }
1920
tokio = { version = "1", features = [
2021
"macros",
2122
"rt",

examples/wasi/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@ keywords = { workspace = true }
1010
homepage = { workspace = true }
1111
categories = { workspace = true }
1212
readme = { workspace = true }
13+
publish = false
1314

1415
[lib]
1516
crate-type = ["cdylib"]
1617

1718
[dependencies]
1819
wasi = { version = "0.14.2"}
1920
tokio = { version = "1", features = ["rt", "io-util", "sync", "macros", "time"] }
20-
rmcp= { path = "../../crates/rmcp", features = ["server", "macros"] }
21+
rmcp = { workspace = true, features = ["server", "macros"] }
2122
serde = { version = "1", features = ["derive"]}
2223
tracing-subscriber = { version = "0.3", features = [
2324
"env-filter",

0 commit comments

Comments
 (0)