4d0122444b
## Proposed Changes I did some gardening 🌳 in our dependency tree: - Remove duplicate versions of `warp` (git vs patch) - Remove duplicate versions of lots of small deps: `cpufeatures`, `ethabi`, `ethereum-types`, `bitvec`, `nix`, `libsecp256k1`. - Update MDBX (should resolve #3028). I tested and Lighthouse compiles on Windows 11 now. - Restore `psutil` back to upstream - Make some progress updating everything to rand 0.8. There are a few crates stuck on 0.7. Hopefully this puts us on a better footing for future `cargo audit` issues, and improves compile times slightly. ## Additional Info Some crates are held back by issues with `zeroize`. libp2p-noise depends on [`chacha20poly1305`](https://crates.io/crates/chacha20poly1305) which depends on zeroize < v1.5, and we can only have one version of zeroize because it's post 1.0 (see https://github.com/rust-lang/cargo/issues/6584). The latest version of `zeroize` is v1.5.4, which is used by the new versions of many other crates (e.g. `num-bigint-dig`). Once a new version of chacha20poly1305 is released we can update libp2p-noise and upgrade everything to the latest `zeroize` version. I've also opened a PR to `blst` related to zeroize: https://github.com/supranational/blst/pull/111
43 lines
1.2 KiB
TOML
43 lines
1.2 KiB
TOML
[package]
|
|
name = "state_processing"
|
|
version = "0.2.0"
|
|
authors = ["Paul Hauner <paul@paulhauner.com>", "Michael Sproul <michael@sigmaprime.io>"]
|
|
edition = "2021"
|
|
|
|
[dev-dependencies]
|
|
env_logger = "0.9.0"
|
|
beacon_chain = { path = "../../beacon_node/beacon_chain" }
|
|
|
|
[dependencies]
|
|
bls = { path = "../../crypto/bls" }
|
|
integer-sqrt = "0.1.5"
|
|
itertools = "0.10.0"
|
|
eth2_ssz = "0.4.1"
|
|
eth2_ssz_types = "0.2.2"
|
|
merkle_proof = { path = "../merkle_proof" }
|
|
safe_arith = { path = "../safe_arith" }
|
|
tree_hash = "0.4.1"
|
|
types = { path = "../types", default-features = false }
|
|
rayon = "1.4.1"
|
|
eth2_hashing = "0.3.0"
|
|
int_to_bytes = { path = "../int_to_bytes" }
|
|
smallvec = "1.6.1"
|
|
arbitrary = { version = "1.0", features = ["derive"], optional = true }
|
|
lighthouse_metrics = { path = "../../common/lighthouse_metrics", optional = true }
|
|
lazy_static = { version = "1.4.0", optional = true }
|
|
|
|
[features]
|
|
default = ["legacy-arith", "metrics"]
|
|
fake_crypto = ["bls/fake_crypto"]
|
|
legacy-arith = ["types/legacy-arith"]
|
|
metrics = ["lighthouse_metrics", "lazy_static"]
|
|
arbitrary-fuzz = [
|
|
"arbitrary",
|
|
"types/arbitrary-fuzz",
|
|
"bls/arbitrary",
|
|
"merkle_proof/arbitrary",
|
|
"eth2_ssz/arbitrary",
|
|
"eth2_ssz_types/arbitrary",
|
|
"tree_hash/arbitrary",
|
|
]
|