mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-02 16:21:42 +00:00
Fixes #7785 - [x] Update all integration tests with >1 files to follow the `main` pattern. - [x] `crypto/eth2_key_derivation/tests` - [x] `crypto/eth2_keystore/tests` - [x] `crypto/eth2_wallet/tests` - [x] `slasher/tests` - [x] `common/eth2_interop_keypairs/tests` - [x] `beacon_node/lighthouse_network/tests` - [x] Set `debug_assertions` to false on `.vscode/settings.json`. - [x] Document how to make rust analyzer work on integration tests files. In `book/src/contributing_setup.md` --- Tracking a `rust-analyzer.toml` with settings like the one provided in `.vscode/settings.json` would be nicer. But this is not possible yet. For now, that config should be a good enough indicator for devs using editors different to VSCode. Co-Authored-By: Daniel Ramirez-Chiquillo <hi@danielrachi.com> Co-Authored-By: Michael Sproul <michael@sigmaprime.io>
51 lines
1.6 KiB
TOML
51 lines
1.6 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 }
|
|
byteorder = { workspace = true }
|
|
educe = { workspace = true }
|
|
ethereum_ssz = { workspace = true }
|
|
ethereum_ssz_derive = { workspace = true }
|
|
filesystem = { workspace = true }
|
|
flate2 = { version = "1.0.14", features = ["zlib"], default-features = false }
|
|
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 }
|
|
lru = { workspace = 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 }
|
|
types = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
maplit = { workspace = true }
|
|
rayon = { workspace = true }
|
|
tempfile = { workspace = true }
|
|
|
|
[[test]]
|
|
name = "slasher_tests"
|
|
path = "tests/main.rs"
|