mirror of
https://github.com/sigp/lighthouse.git
synced 2026-06-29 19:04:27 +00:00
Use the `LruCache` implementation provided by `hashlink` instead of the current `lru` one. This is mostly a 1-to-1 swap with only slight API incompatibilities. I have decided to leave some config files which previously used `NonZeroUsize` but they may not be required anymore and could potentially switch to `usize`. Co-Authored-By: Mac L <mjladson@pm.me>
54 lines
1.7 KiB
TOML
54 lines
1.7 KiB
TOML
[package]
|
|
name = "slasher"
|
|
version = "0.1.0"
|
|
authors = ["Michael Sproul <michael@sigmaprime.io>"]
|
|
edition = { workspace = true }
|
|
autotests = false
|
|
|
|
[features]
|
|
default = ["lmdb"]
|
|
mdbx = ["dep:mdbx"]
|
|
lmdb = ["lmdb-rkv", "lmdb-rkv-sys"]
|
|
redb = ["dep:redb"]
|
|
portable = ["types/portable"]
|
|
|
|
[dependencies]
|
|
bincode = { workspace = true }
|
|
bls = { workspace = true }
|
|
byteorder = { workspace = true }
|
|
educe = { workspace = true }
|
|
ethereum_ssz = { workspace = true }
|
|
ethereum_ssz_derive = { workspace = true }
|
|
filesystem = { workspace = true }
|
|
fixed_bytes = { workspace = true }
|
|
flate2 = { version = "1.0.14", features = ["zlib"], default-features = false }
|
|
hashlink = { workspace = true }
|
|
lmdb-rkv = { git = "https://github.com/sigp/lmdb-rs", rev = "f33845c6469b94265319aac0ed5085597862c27e", optional = true }
|
|
lmdb-rkv-sys = { git = "https://github.com/sigp/lmdb-rs", rev = "f33845c6469b94265319aac0ed5085597862c27e", optional = true }
|
|
|
|
# MDBX is pinned at the last version with Windows and macOS support.
|
|
mdbx = { package = "libmdbx", git = "https://github.com/sigp/libmdbx-rs", rev = "e6ff4b9377c1619bcf0bfdf52bee5a980a432a1a", optional = true }
|
|
metrics = { workspace = true }
|
|
parking_lot = { workspace = true }
|
|
rand = { workspace = true }
|
|
|
|
redb = { version = "2.1.4", optional = true }
|
|
safe_arith = { workspace = true }
|
|
serde = { workspace = true }
|
|
ssz_types = { workspace = true }
|
|
strum = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tree_hash = { workspace = true }
|
|
tree_hash_derive = { workspace = true }
|
|
typenum = { workspace = true }
|
|
types = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
maplit = { workspace = true }
|
|
rayon = { workspace = true }
|
|
tempfile = { workspace = true }
|
|
|
|
[[test]]
|
|
name = "slasher_tests"
|
|
path = "tests/main.rs"
|