lighthouse/beacon_node
Michael Sproul 4d0122444b Update and consolidate dependencies (#3136)
## 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
2022-04-04 00:26:16 +00:00
..
beacon_chain Update and consolidate dependencies (#3136) 2022-04-04 00:26:16 +00:00
client Update and consolidate dependencies (#3136) 2022-04-04 00:26:16 +00:00
eth1 Update and consolidate dependencies (#3136) 2022-04-04 00:26:16 +00:00
execution_layer Update and consolidate dependencies (#3136) 2022-04-04 00:26:16 +00:00
genesis Update and consolidate dependencies (#3136) 2022-04-04 00:26:16 +00:00
http_api Update and consolidate dependencies (#3136) 2022-04-04 00:26:16 +00:00
http_metrics Support IPv6 in BN and VC HTTP APIs (#3104) 2022-03-24 00:04:49 +00:00
lighthouse_network Update and consolidate dependencies (#3136) 2022-04-04 00:26:16 +00:00
network Update and consolidate dependencies (#3136) 2022-04-04 00:26:16 +00:00
operation_pool Update and consolidate dependencies (#3136) 2022-04-04 00:26:16 +00:00
src Conserve disk space by raising default SPRP (#3137) 2022-04-01 07:16:25 +00:00
store Update and consolidate dependencies (#3136) 2022-04-04 00:26:16 +00:00
tests Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00
timer Update to Rust 1.59 and 2021 edition (#3038) 2022-02-25 00:10:17 +00:00
Cargo.toml v2.1.5 (#3096) 2022-03-17 23:13:46 +00:00