Skip to content

Commit 81a127c

Browse files
committed
Bumped Rust edition to 2024, resolve to 3 and adjusted deps so that updated versions will work under semver rules. Ran cargo sort on all workspace crates.
1 parent cb69865 commit 81a127c

File tree

5 files changed

+52
-57
lines changed

5 files changed

+52
-57
lines changed

Cargo.lock

Lines changed: 26 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,31 @@
11
[workspace]
2-
resolver = "2"
2+
resolver = "3"
33
members = [
44
"crates/rust-mcp-macros",
55
"crates/rust-mcp-sdk",
66
"crates/rust-mcp-transport",
7-
"examples/simple-mcp-client",
8-
"examples/simple-mcp-client-core",
97
"examples/hello-world-mcp-server",
108
"examples/hello-world-mcp-server-core",
9+
"examples/simple-mcp-client",
10+
"examples/simple-mcp-client-core",
1111
]
1212

13-
1413
[workspace.dependencies]
1514
# Workspace member crates
16-
rust-mcp-transport = { version = "0.1.1", path = "crates/rust-mcp-transport" }
15+
rust-mcp-transport = { path = "crates/rust-mcp-transport" }
1716
rust-mcp-sdk = { path = "crates/rust-mcp-sdk" }
18-
rust-mcp-macros = { version = "0.1.2", path = "crates/rust-mcp-macros" }
17+
rust-mcp-macros = { path = "crates/rust-mcp-macros" }
1918

2019
# External crates
21-
rust-mcp-schema = { version = "0.2.2" }
20+
rust-mcp-schema = { version = "0.2" }
2221
futures = { version = "0.3" }
23-
tokio = { version = "1.44.1", features = ["full"] }
24-
serde = { version = "1.0.219", features = ["derive", "serde_derive"] }
25-
serde_json = { version = "1.0.140" }
26-
async-trait = { version = "0.1.88" }
27-
strum = { version = "0.27.0", features = ["derive"] }
28-
thiserror = { version = "2.0.12" }
29-
tokio-stream = { version = "0.1.17" }
30-
31-
22+
tokio = { version = "1.44", features = ["full"] }
23+
serde = { version = "1", features = ["derive", "serde_derive"] }
24+
serde_json = { version = "1" }
25+
async-trait = { version = "0.1" }
26+
strum = { version = "0.27", features = ["derive"] }
27+
thiserror = { version = "2" }
28+
tokio-stream = { version = "0.1" }
3229
# [workspace.dependencies.windows]
3330

3431
[profile.dev]
@@ -37,14 +34,12 @@ debug = 0
3734
# split-debuginfo="unpacked"
3835
strip = "debuginfo"
3936
codegen-units = 256
40-
4137
# [profile.dev]
4238
# split-debuginfo = "unpacked"
4339
# debug = "limited"
4440
# codegen-units = 16
4541
# # opt-level = 0
4642

47-
4843
[profile.release]
4944
debug = "limited"
5045
lto = "thin"

crates/rust-mcp-macros/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ repository = "https://github.com/rust-mcp-stack/rust-mcp-sdk"
88
documentation = "https://docs.rs/rust-mcp-macros"
99
keywords = ["rust-mcp-stack", "model", "context", "protocol", "macros"]
1010
license = "MIT"
11-
edition = "2021"
11+
edition = "2024"
1212

1313
[package.metadata.docs]
1414
description = "A procedural macro, part of the rust-mcp-sdk ecosystem, that derives the MCPToolSchema implementation for structs or enums, generating a tool_input_schema function used with rust_mcp_schema::Tool."
1515

1616
[dependencies]
17+
proc-macro2 = "1"
18+
quote = "1"
19+
serde = { version = "1", features = ["derive"] }
1720
serde_json = { workspace = true }
18-
serde = { version = "1.0", features = ["derive"] }
19-
syn = "2.0"
20-
quote = "1.0"
21-
proc-macro2 = "1.0"
21+
syn = "2"
2222

2323
[dev-dependencies]
24-
rust-mcp-schema = { version = "0.2.1" }
24+
rust-mcp-schema = "0.2"
2525

2626
[lints]
2727
workspace = true

crates/rust-mcp-sdk/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ repository = "https://github.com/rust-mcp-stack/rust-mcp-sdk"
88
documentation = "https://docs.rs/rust-mcp-sdk"
99
keywords = ["rust-mcp-stack", "model", "context", "protocol", "sdk"]
1010
license = "MIT"
11-
edition = "2021"
11+
edition = "2024"
1212

1313
[dependencies]
1414
rust-mcp-schema = { workspace = true }
1515
rust-mcp-transport = { workspace = true }
1616
rust-mcp-macros = { workspace = true, optional = true }
1717

18-
tokio.workspace = true
19-
serde = { workspace = true }
20-
serde_json = { workspace = true }
2118
async-trait = { workspace = true }
2219
futures = { workspace = true }
2320
thiserror = { workspace = true }
21+
tokio = { workspace = true }
22+
serde_json = { workspace = true }
23+
serde = { workspace = true }
2424

2525
[features]
2626
default = ["macros"] # Default features

crates/rust-mcp-transport/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ repository = "https://github.com/rust-mcp-stack/rust-mcp-sdk"
88
documentation = "https://docs.rs/rust-mcp-transport"
99
keywords = ["rust-mcp-stack", "model", "context", "protocol", "sdk"]
1010
license = "MIT"
11-
edition = "2021"
11+
edition = "2024"
1212

1313
[dependencies]
1414
rust-mcp-schema = { workspace = true }
1515

1616
async-trait = { workspace = true }
17-
tokio = { workspace = true }
1817
futures = { workspace = true }
19-
thiserror = { workspace = true }
2018
serde_json = { workspace = true }
2119
serde = { workspace = true }
20+
thiserror = { workspace = true }
21+
tokio = { workspace = true }
2222

2323
[lints]
2424
workspace = true

0 commit comments

Comments
 (0)