mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2025-01-03 01:37:39 +00:00
a68b701807
* add metrics layer * add metrics * simplify getting the target * make clippy happy * fix typos * unify deps under workspace * make import statement shorter, fix typos * enable warn by default, mark flag as deprecated * do not exit on error when initializing logging fails * revert exit on error * adjust bootnode logging * use target as is by default * make libp2p events register correctly * adjust repilcated cli help * turn on debug logs by default, remove deprecation warning * suppress output (#5) --------- Co-authored-by: Age Manning <Age@AgeManning.com>
80 lines
2.6 KiB
TOML
80 lines
2.6 KiB
TOML
[package]
|
|
name = "lighthouse"
|
|
version = "4.6.0-rc.0"
|
|
authors = ["Sigma Prime <contact@sigmaprime.io>"]
|
|
edition = { workspace = true }
|
|
autotests = false
|
|
rust-version = "1.73.0"
|
|
|
|
[features]
|
|
default = ["slasher-lmdb"]
|
|
# Writes debugging .ssz files to /tmp during block processing.
|
|
write_ssz_files = ["beacon_node/write_ssz_files"]
|
|
# Compiles the BLS crypto code so that the binary is portable across machines.
|
|
portable = ["bls/supranational-portable"]
|
|
# Compiles BLST so that it always uses ADX instructions.
|
|
modern = ["bls/supranational-force-adx"]
|
|
# Uses the slower Milagro BLS library, which is written in native Rust.
|
|
milagro = ["bls/milagro"]
|
|
# Support minimal spec (used for testing only).
|
|
spec-minimal = []
|
|
# Support Gnosis spec and Gnosis Beacon Chain.
|
|
gnosis = []
|
|
# Support slasher MDBX backend.
|
|
slasher-mdbx = ["slasher/mdbx"]
|
|
# Support slasher LMDB backend.
|
|
slasher-lmdb = ["slasher/lmdb"]
|
|
# Use jemalloc.
|
|
jemalloc = ["malloc_utils/jemalloc"]
|
|
|
|
[dependencies]
|
|
beacon_node = { workspace = true }
|
|
slog = { workspace = true }
|
|
sloggers = { workspace = true }
|
|
types = { workspace = true }
|
|
bls = { workspace = true }
|
|
ethereum_hashing = { workspace = true }
|
|
clap = { workspace = true }
|
|
environment = { workspace = true }
|
|
boot_node = { path = "../boot_node" }
|
|
futures = { workspace = true }
|
|
validator_client = { workspace = true }
|
|
account_manager = { "path" = "../account_manager" }
|
|
clap_utils = { workspace = true }
|
|
eth2_network_config = { workspace = true }
|
|
lighthouse_version = { workspace = true }
|
|
account_utils = { workspace = true }
|
|
lighthouse_metrics = { workspace = true }
|
|
lazy_static = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
serde_yaml = { workspace = true }
|
|
task_executor = { workspace = true }
|
|
malloc_utils = { workspace = true }
|
|
directory = { workspace = true }
|
|
unused_port = { workspace = true }
|
|
database_manager = { path = "../database_manager" }
|
|
slasher = { workspace = true }
|
|
validator_manager = { path = "../validator_manager" }
|
|
tracing-subscriber = { workspace = true }
|
|
logging = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
tempfile = { workspace = true }
|
|
validator_dir = { workspace = true }
|
|
slashing_protection = { workspace = true }
|
|
lighthouse_network = { workspace = true }
|
|
sensitive_url = { workspace = true }
|
|
eth1 = { workspace = true }
|
|
eth2 = { workspace = true }
|
|
beacon_processor = { workspace = true }
|
|
|
|
[[test]]
|
|
name = "lighthouse_tests"
|
|
path = "tests/main.rs"
|
|
|
|
# Prevent cargo-udeps from flagging the dummy package `target_check`, which exists only
|
|
# to assert properties of the compilation target.
|
|
[package.metadata.cargo-udeps.ignore]
|
|
normal = ["target_check"]
|