blob: ce2921511db2c6799171511ca36d927f127040ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
[package]
name = "jellykv"
version = "0.1.0"
edition = "2024"
[dependencies]
anyhow = { workspace = true }
rand = { version = "0.10.0", optional = true }
rocksdb = { version = "0.24.0", features = [
"multi-threaded-cf",
], optional = true }
redb = { version = "3.1.0", optional = true }
humansize = "2.1.3"
[[bin]]
name = "jellykv_rocksdb_remove_prefix"
path = "src/bin/rocksdb_remove_prefix.rs"
required-features = ["rocksdb"]
[[bin]]
name = "jellykv_rocksdb_stats"
path = "src/bin/rocksdb_stats.rs"
required-features = ["rocksdb"]
[[bin]]
name = "jellykv_fs_to_rocksdb"
path = "src/bin/fs_to_rocksdb.rs"
required-features = ["rocksdb"]
[features]
# default = ["rocksdb", "redb", "memory", "filesystem"]
rocksdb = ["dep:rocksdb"]
redb = ["dep:redb"]
memory = []
filesystem = ["dep:rand"]
|