mirror of
https://github.com/Cuprate/cuprate.git
synced 2025-01-10 04:44:53 +00:00
fix unused_crate_dependencies
This commit is contained in:
parent
94b4b9c2ec
commit
0e687cc3ff
2 changed files with 3 additions and 2 deletions
|
@ -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 }
|
||||||
|
|
|
@ -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 _;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue