mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: disable default std serde_json feature (#13513)
This commit is contained in:
@ -522,7 +522,7 @@ rayon = "1.7"
|
||||
rustc-hash = { version = "2.0", default-features = false }
|
||||
schnellru = "0.2"
|
||||
serde = { version = "1.0", default-features = false }
|
||||
serde_json = "1.0.94"
|
||||
serde_json = { version = "1.0.94", default-features = false, features = ["alloc"] }
|
||||
serde_with = { version = "3", default-features = false, features = ["macros"] }
|
||||
sha2 = { version = "0.10", default-features = false }
|
||||
shellexpand = "3.0.0"
|
||||
|
||||
@ -52,7 +52,8 @@ std = [
|
||||
"reth-ethereum-forks/std",
|
||||
"derive_more/std",
|
||||
"reth-network-peers/std",
|
||||
"reth-trie-common/std"
|
||||
"reth-trie-common/std",
|
||||
"serde_json/std"
|
||||
]
|
||||
arbitrary = [
|
||||
"alloy-chains/arbitrary",
|
||||
|
||||
@ -51,5 +51,6 @@ std = [
|
||||
"alloy-primitives/std",
|
||||
"revm-primitives/std",
|
||||
"secp256k1/std",
|
||||
"reth-ethereum-forks/std"
|
||||
"reth-ethereum-forks/std",
|
||||
"serde_json/std"
|
||||
]
|
||||
|
||||
@ -14,6 +14,6 @@ workspace = true
|
||||
[dependencies]
|
||||
|
||||
# misc
|
||||
serde_json.workspace = true
|
||||
serde_json = { workspace = true, features = ["std"] }
|
||||
serde.workspace = true
|
||||
thiserror.workspace = true
|
||||
|
||||
@ -20,7 +20,7 @@ reth-ethereum-forks.workspace = true
|
||||
# misc
|
||||
serde = { workspace = true, optional = true }
|
||||
humantime-serde = { workspace = true, optional = true }
|
||||
serde_json = { workspace = true }
|
||||
serde_json = { workspace = true, features = ["std"] }
|
||||
|
||||
# misc
|
||||
tracing.workspace = true
|
||||
|
||||
@ -44,6 +44,7 @@ std = [
|
||||
"serde_with/std",
|
||||
"thiserror/std",
|
||||
"url/std",
|
||||
"serde_json/std"
|
||||
]
|
||||
secp256k1 = ["dep:secp256k1", "enr/secp256k1"]
|
||||
net = ["std", "dep:tokio", "tokio?/net"]
|
||||
|
||||
@ -62,5 +62,6 @@ std = [
|
||||
"derive_more/std",
|
||||
"reth-network-peers/std",
|
||||
"thiserror/std",
|
||||
"serde_json/std",
|
||||
"op-alloy-consensus/std"
|
||||
]
|
||||
|
||||
@ -89,7 +89,8 @@ std = [
|
||||
"secp256k1?/std",
|
||||
"thiserror/std",
|
||||
"alloy-trie/std",
|
||||
"op-alloy-consensus?/std"
|
||||
"op-alloy-consensus?/std",
|
||||
"serde_json/std"
|
||||
]
|
||||
secp256k1 = ["dep:secp256k1"]
|
||||
test-utils = [
|
||||
|
||||
@ -117,7 +117,8 @@ std = [
|
||||
"secp256k1?/std",
|
||||
"reth-trie-common/std",
|
||||
"op-alloy-consensus?/std",
|
||||
"op-alloy-rpc-types?/std"
|
||||
"op-alloy-rpc-types?/std",
|
||||
"serde_json/std"
|
||||
]
|
||||
reth-codec = [
|
||||
"dep:reth-codecs",
|
||||
|
||||
@ -60,7 +60,8 @@ std = [
|
||||
"alloy-genesis?/std",
|
||||
"alloy-trie?/std",
|
||||
"serde/std",
|
||||
"op-alloy-consensus?/std"
|
||||
"op-alloy-consensus?/std",
|
||||
"serde_json/std"
|
||||
]
|
||||
alloy = [
|
||||
"dep:alloy-consensus",
|
||||
|
||||
@ -72,7 +72,8 @@ std = [
|
||||
"nybbles/std",
|
||||
"reth-primitives-traits/std",
|
||||
"serde?/std",
|
||||
"serde_with?/std"
|
||||
"serde_with?/std",
|
||||
"serde_json/std"
|
||||
]
|
||||
eip1186 = [
|
||||
"alloy-rpc-types-eth/serde",
|
||||
|
||||
Reference in New Issue
Block a user