diff --git a/storage/database/Cargo.toml b/storage/database/Cargo.toml index 91b2904e0..817577f56 100644 --- a/storage/database/Cargo.toml +++ b/storage/database/Cargo.toml @@ -12,12 +12,12 @@ keywords = ["cuprate", "database"] default = ["heed"] # default = ["redb"] # default = ["redb-memory"] -heed = ["dep:cuprate-helper"] +heed = [] redb = ["dep:redb"] redb-memory = ["redb"] [dependencies] -cuprate-helper = { workspace = true, features = ["cast"], optional = true } +cuprate-helper = { workspace = true, features = ["cast"] } bytemuck = { version = "1.18.0", features = ["must_cast", "derive", "min_const_generics", "extern_crate_alloc"] } bytes = { workspace = true } diff --git a/storage/database/src/lib.rs b/storage/database/src/lib.rs index 45bfc53ca..2f5bd9694 100644 --- a/storage/database/src/lib.rs +++ b/storage/database/src/lib.rs @@ -71,5 +71,6 @@ cfg_if::cfg_if! { use redb as _; } else { use heed as _; + use cuprate_helper as _; } }