fix unused_crate_dependencies

This commit is contained in:
hinto.janai 2024-11-12 21:03:21 -05:00
parent 94b4b9c2ec
commit 0e687cc3ff
No known key found for this signature in database
GPG key ID: D47CE05FA175A499
2 changed files with 3 additions and 2 deletions

View file

@ -12,12 +12,12 @@ keywords = ["cuprate", "database"]
default = ["heed"] default = ["heed"]
# default = ["redb"] # default = ["redb"]
# default = ["redb-memory"] # default = ["redb-memory"]
heed = ["dep:cuprate-helper"] heed = []
redb = ["dep:redb"] redb = ["dep:redb"]
redb-memory = ["redb"] redb-memory = ["redb"]
[dependencies] [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"] } bytemuck = { version = "1.18.0", features = ["must_cast", "derive", "min_const_generics", "extern_crate_alloc"] }
bytes = { workspace = true } bytes = { workspace = true }

View file

@ -71,5 +71,6 @@ cfg_if::cfg_if! {
use redb as _; use redb as _;
} else { } else {
use heed as _; use heed as _;
use cuprate_helper as _;
} }
} }