[package]
name = "bbg"
version = "0.1.2"
edition = "2024"
description = "Big Badass Graph: authenticated state with polynomial commitments"
license-file = "LICENSE"
repository = "https://github.com/cyberia-to/bbg"
keywords = ["graph", "commitment", "bbg", "cyber"]
categories = ["cryptography", "data-structures"]
[dependencies]
nebu = { package = "strata-nebu", version = "0.1", path = "../../strata/nebu/rs" }
hemera = { package = "cyber-hemera", version = "0.3", path = "../../hemera/rs" }
lens = { package = "cyber-lens", version = "0.1.1", path = "../../lens/src" }
nox = { package = "cyber-nox", version = "0.1.1", path = "../../nox/rs" }
zheng = { version = "0.1.1", path = "../../zheng/rs" }
fjall = { version = "2", optional = true }
redb = { version = "2", optional = true }
serde = { version = "1", features = ["derive"], optional = true }
[dev-dependencies]
serde_json = "1"
[features]
backend-ssd = ["dep:fjall"]
backend-hdd = ["dep:redb"]
serde = ["dep:serde", "lens/serde"]
# storage/unimem.rs is gated on `backend-unimem`, which is not yet wired as a
# feature (it needs an optional honeycrisp/unimem dependency). Declare the cfg
# as expected so `cargo check` stays warning-free until the backend lands.
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(feature, values("backend-unimem"))'] }