Skip to content

Commit 730b042

Browse files
committed
fix code
1 parent 19d13d9 commit 730b042

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/rmcp/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ rustdoc-args = ["--cfg", "docsrs"]
1717
serde = { version = "1.0", features = ["derive", "rc"] }
1818
serde_json = "1.0"
1919
thiserror = "2"
20-
chrono = { version = "0.4.38", default-features = false, features = ["serde", "clock", "std", "oldtime"] }
20+
chrono = { version = "0.4.38", features = ["serde"] }
2121
tokio = { version = "1", features = ["sync", "macros", "rt", "time"] }
2222
futures = "0.3"
2323
tracing = { version = "0.1" }
@@ -61,8 +61,8 @@ uuid = { version = "1", features = ["v4"], optional = true }
6161
# macro
6262
rmcp-macros = { version = "0.1", workspace = true, optional = true }
6363

64-
[target.'cfg(not(target = "wasm32-unknown-unknown"))'.dependencies.chrono]
65-
features = ["wasmbind"]
64+
[target.'cfg(target = "wasm32-unknown-unknown")'.dependencies]
65+
chrono = { version = "0.4.38", default-features = false, features = ["serde", "clock", "std", "oldtime"] }
6666

6767
[features]
6868
default = ["base64", "macros", "server"]

0 commit comments

Comments
 (0)