mirror of
https://github.com/hinto-janai/cuprate.git
synced 2024-12-23 03:59:37 +00:00
Compare commits
2 commits
0e687cc3ff
...
6b02aeffa7
Author | SHA1 | Date | |
---|---|---|---|
|
6b02aeffa7 | ||
|
d354b37e10 |
2 changed files with 2 additions and 3 deletions
|
@ -12,12 +12,12 @@ keywords = ["cuprate", "database"]
|
||||||
default = ["heed"]
|
default = ["heed"]
|
||||||
# default = ["redb"]
|
# default = ["redb"]
|
||||||
# default = ["redb-memory"]
|
# default = ["redb-memory"]
|
||||||
heed = []
|
heed = ["dep:cuprate-helper"]
|
||||||
redb = ["dep:redb"]
|
redb = ["dep:redb"]
|
||||||
redb-memory = ["redb"]
|
redb-memory = ["redb"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
cuprate-helper = { workspace = true, features = ["cast"] }
|
cuprate-helper = { workspace = true, features = ["cast"], optional = true }
|
||||||
|
|
||||||
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,6 +71,5 @@ 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