mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-02 16:21:42 +00:00
Compiling types with the `sqlite` feature more than doubles the total compile time. Most downstream users don't need `sqlite` compatibility for `Slot` and `Epoch` types. Disable the `sqlite` feature by default. Co-Authored-By: Mac L <mjladson@pm.me>
34 lines
947 B
TOML
34 lines
947 B
TOML
[package]
|
|
name = "slashing_protection"
|
|
version = "0.1.0"
|
|
authors = ["Michael Sproul <michael@sigmaprime.io>", "pscott <scottpiriou@gmail.com>"]
|
|
edition = { workspace = true }
|
|
autotests = false
|
|
|
|
[features]
|
|
arbitrary-fuzz = ["types/arbitrary-fuzz", "eip_3076/arbitrary-fuzz"]
|
|
portable = ["types/portable"]
|
|
|
|
[dependencies]
|
|
arbitrary = { workspace = true, features = ["derive"] }
|
|
bls = { workspace = true }
|
|
eip_3076 = { workspace = true, features = ["json"] }
|
|
ethereum_serde_utils = { workspace = true }
|
|
filesystem = { workspace = true }
|
|
fixed_bytes = { workspace = true }
|
|
r2d2 = { workspace = true }
|
|
r2d2_sqlite = "0.21.0"
|
|
rusqlite = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
tempfile = { workspace = true }
|
|
tracing = { workspace = true }
|
|
types = { workspace = true, features = ["sqlite"] }
|
|
|
|
[dev-dependencies]
|
|
rayon = { workspace = true }
|
|
|
|
[[test]]
|
|
name = "slashing_protection_tests"
|
|
path = "tests/main.rs"
|