Skip to content

Commit

Permalink
fix unused_crate_dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
hinto-janai committed Nov 13, 2024
1 parent 94b4b9c commit 0e687cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions storage/database/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
1 change: 1 addition & 0 deletions storage/database/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,6 @@ cfg_if::cfg_if! {
use redb as _;
} else {
use heed as _;
use cuprate_helper as _;
}
}

0 comments on commit 0e687cc

Please sign in to comment.