mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-02 16:21:42 +00:00
There are certain crates which we re-export within `types` which creates a fragmented DevEx, where there are various ways to import the same crates.
```rust
// consensus/types/src/lib.rs
pub use bls::{
AggregatePublicKey, AggregateSignature, Error as BlsError, Keypair, PUBLIC_KEY_BYTES_LEN,
PublicKey, PublicKeyBytes, SIGNATURE_BYTES_LEN, SecretKey, Signature, SignatureBytes,
get_withdrawal_credentials,
};
pub use context_deserialize::{ContextDeserialize, context_deserialize};
pub use fixed_bytes::FixedBytesExtended;
pub use milhouse::{self, List, Vector};
pub use ssz_types::{BitList, BitVector, FixedVector, VariableList, typenum, typenum::Unsigned};
pub use superstruct::superstruct;
```
This PR removes these re-exports and makes it explicit that these types are imported from a non-`consensus/types` crate.
Co-Authored-By: Mac L <mjladson@pm.me>
56 lines
1.7 KiB
TOML
56 lines
1.7 KiB
TOML
[package]
|
|
name = "execution_layer"
|
|
version = "0.1.0"
|
|
edition = { workspace = true }
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
alloy-consensus = { workspace = true }
|
|
alloy-primitives = { workspace = true }
|
|
alloy-rlp = { workspace = true }
|
|
alloy-rpc-types-eth = { workspace = true }
|
|
arc-swap = "1.6.0"
|
|
bls = { workspace = true }
|
|
builder_client = { path = "../builder_client" }
|
|
bytes = { workspace = true }
|
|
eth2 = { workspace = true, features = ["events", "lighthouse"] }
|
|
ethereum_serde_utils = { workspace = true }
|
|
ethereum_ssz = { workspace = true }
|
|
fixed_bytes = { workspace = true }
|
|
fork_choice = { workspace = true }
|
|
hash-db = "0.15.2"
|
|
hash256-std-hasher = "0.15.2"
|
|
hex = { workspace = true }
|
|
jsonwebtoken = "9"
|
|
keccak-hash = "0.10.0"
|
|
kzg = { workspace = true }
|
|
lighthouse_version = { workspace = true }
|
|
logging = { workspace = true }
|
|
lru = { workspace = true }
|
|
metrics = { workspace = true }
|
|
parking_lot = { workspace = true }
|
|
pretty_reqwest_error = { workspace = true }
|
|
rand = { workspace = true }
|
|
reqwest = { workspace = true }
|
|
sensitive_url = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
sha2 = { workspace = true }
|
|
slot_clock = { workspace = true }
|
|
ssz_types = { workspace = true }
|
|
state_processing = { workspace = true }
|
|
strum = { workspace = true }
|
|
superstruct = { workspace = true }
|
|
task_executor = { workspace = true }
|
|
tempfile = { workspace = true }
|
|
tokio = { workspace = true }
|
|
tokio-stream = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tree_hash = { workspace = true }
|
|
tree_hash_derive = { workspace = true }
|
|
triehash = "0.8.4"
|
|
typenum = { workspace = true }
|
|
types = { workspace = true }
|
|
warp = { workspace = true }
|
|
zeroize = { workspace = true }
|