mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2024-12-22 11:41:28 +00:00
c11638c36c
## Proposed Changes Split out several crates which now exist in separate repos under `sigp`. - [`ssz` and `ssz_derive`](https://github.com/sigp/ethereum_ssz) - [`tree_hash` and `tree_hash_derive`](https://github.com/sigp/tree_hash) - [`ethereum_hashing`](https://github.com/sigp/ethereum_hashing) - [`ethereum_serde_utils`](https://github.com/sigp/ethereum_serde_utils) - [`ssz_types`](https://github.com/sigp/ssz_types) For the published crates see: https://crates.io/teams/github:sigp:crates-io?sort=recent-updates. ## Additional Info - [x] Need to work out how to handle versioning. I was hoping to do 1.0 versions of several crates, but if they depend on `ethereum-types 0.x` that is not going to work. EDIT: decided to go with 0.5.x versions. - [x] Need to port several changes from `tree-states`, `capella`, `eip4844` branches to the external repos.
45 lines
1.4 KiB
TOML
45 lines
1.4 KiB
TOML
[package]
|
|
name = "slasher"
|
|
version = "0.1.0"
|
|
authors = ["Michael Sproul <michael@sigmaprime.io>"]
|
|
edition = "2021"
|
|
|
|
[features]
|
|
default = ["mdbx"]
|
|
mdbx = ["dep:mdbx"]
|
|
lmdb = ["lmdb-rkv", "lmdb-rkv-sys"]
|
|
|
|
[dependencies]
|
|
bincode = "1.3.1"
|
|
byteorder = "1.3.4"
|
|
ethereum_ssz = "0.5.0"
|
|
ethereum_ssz_derive = "0.5.0"
|
|
flate2 = { version = "1.0.14", features = ["zlib"], default-features = false }
|
|
lazy_static = "1.4.0"
|
|
lighthouse_metrics = { path = "../common/lighthouse_metrics" }
|
|
filesystem = { path = "../common/filesystem" }
|
|
lru = "0.7.1"
|
|
parking_lot = "0.12.0"
|
|
rand = "0.8.5"
|
|
safe_arith = { path = "../consensus/safe_arith" }
|
|
serde = "1.0"
|
|
serde_derive = "1.0"
|
|
slog = "2.5.2"
|
|
sloggers = { version = "2.1.1", features = ["json"] }
|
|
tree_hash = "0.5.0"
|
|
tree_hash_derive = "0.5.0"
|
|
types = { path = "../consensus/types" }
|
|
strum = { version = "0.24.1", features = ["derive"] }
|
|
|
|
# MDBX is pinned at the last version with Windows and macOS support.
|
|
mdbx = { package = "libmdbx", git = "https://github.com/sigp/libmdbx-rs", tag = "v0.1.4", optional = 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 }
|
|
|
|
[dev-dependencies]
|
|
maplit = "1.0.2"
|
|
rayon = "1.3.0"
|
|
tempfile = "3.1.0"
|
|
logging = { path = "../common/logging" }
|
|
|