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>
53 lines
1.6 KiB
TOML
53 lines
1.6 KiB
TOML
[package]
|
|
name = "lcli"
|
|
description = "Lighthouse CLI (modeled after zcli)"
|
|
version = { workspace = true }
|
|
authors = ["Paul Hauner <paul@paulhauner.com>"]
|
|
edition = { workspace = true }
|
|
|
|
[package.metadata.cargo-udeps.ignore]
|
|
normal = ["malloc_utils"]
|
|
|
|
[features]
|
|
portable = ["bls/supranational-portable"]
|
|
fake_crypto = ['bls/fake_crypto']
|
|
|
|
[dependencies]
|
|
account_utils = { workspace = true }
|
|
beacon_chain = { workspace = true }
|
|
bls = { workspace = true }
|
|
clap = { workspace = true }
|
|
clap_utils = { workspace = true }
|
|
deposit_contract = { workspace = true }
|
|
environment = { workspace = true }
|
|
eth2 = { workspace = true }
|
|
eth2_network_config = { workspace = true }
|
|
eth2_wallet = { workspace = true }
|
|
ethereum_hashing = { workspace = true }
|
|
ethereum_ssz = { workspace = true }
|
|
execution_layer = { workspace = true }
|
|
fixed_bytes = { workspace = true }
|
|
hex = { workspace = true }
|
|
lighthouse_network = { workspace = true }
|
|
lighthouse_version = { workspace = true }
|
|
log = { workspace = true }
|
|
network_utils = { workspace = true }
|
|
rayon = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
serde_yaml = { workspace = true }
|
|
snap = { workspace = true }
|
|
state_processing = { workspace = true }
|
|
store = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|
|
tree_hash = { workspace = true }
|
|
types = { workspace = true }
|
|
validator_dir = { workspace = true }
|
|
|
|
[target.'cfg(not(target_os = "windows"))'.dependencies]
|
|
malloc_utils = { workspace = true, features = ["jemalloc"] }
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
malloc_utils = { workspace = true, features = [] }
|