Compare commits

...

2 commits

Author SHA1 Message Date
hinto.janai
6b02aeffa7
!!
Some checks failed
Deny / audit (push) Has been cancelled
2024-11-13 15:23:09 -05:00
hinto.janai
d354b37e10
!! 2024-11-13 15:22:03 -05:00
2 changed files with 2 additions and 3 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 = [] 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 }

View file

@ -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 _;
} }
} }