Disable sqlite by default (#8708)

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>
This commit is contained in:
Mac L
2026-01-29 10:30:22 +04:00
committed by GitHub
parent b202e98dd9
commit bbb074692c
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ authors = [
edition = { workspace = true }
[features]
default = ["sqlite", "legacy-arith"]
default = ["legacy-arith"]
# Allow saturating arithmetic on slots and epochs. Enabled by default, but deprecated.
legacy-arith = []
sqlite = ["dep:rusqlite"]

View File

@@ -23,7 +23,7 @@ serde = { workspace = true }
serde_json = { workspace = true }
tempfile = { workspace = true }
tracing = { workspace = true }
types = { workspace = true }
types = { workspace = true, features = ["sqlite"] }
[dev-dependencies]
rayon = { workspace = true }