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>
44 lines
1.3 KiB
TOML
44 lines
1.3 KiB
TOML
[package]
|
|
name = "ef_tests"
|
|
version = "0.2.0"
|
|
authors = ["Paul Hauner <paul@paulhauner.com>"]
|
|
edition = { workspace = true }
|
|
|
|
[features]
|
|
# `ef_tests` feature must be enabled to actually run the tests
|
|
ef_tests = []
|
|
disable_rayon = []
|
|
fake_crypto = ["bls/fake_crypto"]
|
|
portable = ["beacon_chain/portable"]
|
|
|
|
[dependencies]
|
|
alloy-primitives = { workspace = true }
|
|
beacon_chain = { workspace = true }
|
|
bls = { workspace = true }
|
|
compare_fields = { workspace = true }
|
|
context_deserialize = { workspace = true }
|
|
educe = { workspace = true }
|
|
eth2_network_config = { workspace = true }
|
|
ethereum_ssz = { workspace = true }
|
|
ethereum_ssz_derive = { workspace = true }
|
|
execution_layer = { workspace = true }
|
|
fork_choice = { workspace = true }
|
|
fs2 = { workspace = true }
|
|
hex = { workspace = true }
|
|
kzg = { workspace = true }
|
|
logging = { workspace = true }
|
|
milhouse = { workspace = true }
|
|
rayon = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
serde_repr = { workspace = true }
|
|
serde_yaml = { workspace = true }
|
|
snap = { workspace = true }
|
|
ssz_types = { workspace = true }
|
|
state_processing = { workspace = true }
|
|
swap_or_not_shuffle = { workspace = true }
|
|
tree_hash = { workspace = true }
|
|
tree_hash_derive = { workspace = true }
|
|
typenum = { workspace = true }
|
|
types = { workspace = true }
|