mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: optional serde features (#1214)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
This commit is contained in:
@ -13,7 +13,7 @@ reth-primitives = { path = "../../primitives" }
|
||||
reth-eth-wire = { path = "../eth-wire" }
|
||||
|
||||
# io
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde = { version = "1.0", features = ["derive"], optional = true }
|
||||
|
||||
# misc
|
||||
async-trait = "0.1"
|
||||
@ -21,4 +21,6 @@ thiserror = "1.0.37"
|
||||
tokio = { version = "1.21.2", features = ["sync"] }
|
||||
|
||||
[features]
|
||||
test-utils = []
|
||||
default = ["serde"]
|
||||
serde = ["dep:serde"]
|
||||
test-utils = []
|
||||
|
||||
Reference in New Issue
Block a user