Skip to content

Commit 60d6eb8

Browse files
committed
fix: enable serde/alloc for test-utils, proc-macros, and integration tests
Ensures compatibility with no-default-features builds across the workspace.
1 parent f54a378 commit 60d6eb8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

proc-macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ hyper-util = { workspace = true, features = ["client", "client-legacy"]}
3333
futures-channel = { workspace = true }
3434
futures-util = { workspace = true }
3535
serde_json = { workspace = true }
36-
serde = { workspace = true }
36+
serde = { workspace = true, features = ["alloc"] }
3737
trybuild = { workspace = true }
3838
tokio = { workspace = true, features = ["rt", "macros"] }
3939
tower = { workspace = true }

test-utils/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ hyper = { workspace = true }
1313
hyper-util = { workspace = true, features = ["server-auto", "tokio", "client-legacy"] }
1414
http-body-util = { workspace = true }
1515
tracing = { workspace = true }
16-
serde = { workspace = true, features = ["derive"] }
16+
serde = { workspace = true, features = ["derive", "alloc"] }
1717
serde_json = { workspace = true }
1818
soketto = { workspace = true, features = ["http"] }
1919
tokio = { workspace = true, features = ["net", "rt-multi-thread", "macros", "time"] }

tests/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ hyper = { workspace = true }
2020
hyper-util = { workspace = true, features = ["http1", "client", "client-legacy"] }
2121
jsonrpsee = { path = "../jsonrpsee", features = ["server", "client-core", "http-client", "ws-client", "macros"] }
2222
jsonrpsee-test-utils = { path = "../test-utils" }
23-
serde = { workspace = true }
23+
serde = { workspace = true, features = ["alloc"] }
2424
serde_json = { workspace = true }
2525
tokio = { workspace = true, features = ["rt-multi-thread", "time"] }
2626
tokio-stream = { workspace = true }

0 commit comments

Comments
 (0)