mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
* move hello to separate file * cargo fmt * wip: actual fuzz test * should probably also take advantage of test-fuzz to generate benchmarks like impl_fuzzer_with_input * impl generic roundtrip method * generate test with macro * change testname to fuzzname * add reth-eth-wire to fuzz in ci * add other message types to fuzz * remove unused_crate_dependencies * was causing test issues, may want to revisit whether or not we can include this warning and still use test_fuzz * more afl debugging ci * use more explicit imports in fuzz_rlp * impl Default for types and fuzz ping/pong * Default is necessary for test-fuzz to auto generate a corpus for each type we are fuzz testing * enable AFL_I_DONT_CARE_ABOUT_MISSING_CRASHES * not sure if we should do this in the workflow instead: echo core >/proc/sys/kernel/core_pattern we may miss crashes if we keep this enabled? * remove reth-interfaces from fuzzing * add secp256k1 to reth-db dev deps
45 lines
1.4 KiB
TOML
45 lines
1.4 KiB
TOML
[package]
|
|
name = "reth-interfaces"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/paradigmxyz/reth"
|
|
readme = "README.md"
|
|
|
|
[dependencies]
|
|
reth-codecs = { path = "../storage/codecs" }
|
|
reth-primitives = { path = "../primitives" }
|
|
reth-rpc-types = { path = "../net/rpc-types" }
|
|
async-trait = "0.1.57"
|
|
thiserror = "1.0.37"
|
|
auto_impl = "1.0"
|
|
tokio = { version = "1.21.2", features = ["sync"] }
|
|
bytes = "1.2"
|
|
|
|
# TODO(onbjerg): We only need this for [BlockBody]
|
|
reth-eth-wire = { path = "../net/eth-wire" }
|
|
|
|
# codecs
|
|
serde = { version = "1.0.*", default-features = false }
|
|
postcard = { version = "1.0.2", features = ["alloc"] }
|
|
heapless = "0.7.16"
|
|
parity-scale-codec = { version = "3.2.1", features = ["bytes"] }
|
|
futures = "0.3.25"
|
|
tokio-stream = "0.1.11"
|
|
rand = "0.8.5"
|
|
arbitrary = { version = "1.1.7", features = ["derive"], optional = true }
|
|
secp256k1 = { version = "0.24.0", default-features = false, features = ["alloc", "recovery", "rand"], optional = true }
|
|
modular-bitfield = "0.11.2"
|
|
|
|
[dev-dependencies]
|
|
reth-db = { path = "../storage/db", features = ["test-utils"] }
|
|
tokio = { version = "1.21.2", features = ["full"] }
|
|
tokio-stream = { version = "0.1.11", features = ["sync"] }
|
|
arbitrary = { version = "1.1.7", features = ["derive"]}
|
|
hex-literal = "0.3"
|
|
secp256k1 = { version = "0.24.0", default-features = false, features = ["alloc", "recovery", "rand"] }
|
|
|
|
[features]
|
|
bench = []
|
|
test-utils = ["tokio-stream/sync", "secp256k1"]
|