Files
nanoreth/crates/ethereum-forks/Cargo.toml
2024-06-17 11:20:45 +00:00

43 lines
1.1 KiB
TOML

[package]
name = "reth-ethereum-forks"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
description = "Ethereum fork types used in reth."
[lints]
workspace = true
[dependencies]
# ethereum
alloy-chains.workspace = true
alloy-primitives = { workspace = true, features = ["serde", "rand", "rlp"] }
alloy-rlp = { workspace = true, features = ["arrayvec", "derive"] }
# used for forkid
crc = "3"
# misc
serde = { workspace = true, features = ["derive"], optional = true }
thiserror-no-std = { workspace = true, default-features = false }
# arbitrary utils
arbitrary = { workspace = true, features = ["derive"], optional = true }
proptest = { workspace = true, optional = true }
proptest-derive = { workspace = true, optional = true }
[dev-dependencies]
arbitrary = { workspace = true, features = ["derive"] }
proptest.workspace = true
proptest-derive.workspace = true
[features]
default = ["std", "serde"]
std = ["thiserror-no-std/std"]
serde = ["dep:serde"]
arbitrary = ["dep:arbitrary", "dep:proptest", "dep:proptest-derive"]
optimism = []