mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: add serde feature to network crate (#653)
* Add serde feature and support for PeersConfig * Add Duration fields and Weights * Add serde for ConnectionInfo field
This commit is contained in:
@ -35,6 +35,9 @@ pin-project = "1.0"
|
||||
tokio = { version = "1", features = ["io-util", "net", "macros", "rt-multi-thread", "time"] }
|
||||
tokio-stream = "0.1"
|
||||
|
||||
# io
|
||||
serde = { version = "1.0", optional = true }
|
||||
|
||||
# misc
|
||||
auto_impl = "1"
|
||||
aquamarine = "0.1" # docs
|
||||
@ -68,3 +71,5 @@ hex = "0.4"
|
||||
tempfile = "3.3"
|
||||
serial_test = "0.10"
|
||||
|
||||
[features]
|
||||
serde = ["dep:serde"]
|
||||
|
||||
Reference in New Issue
Block a user