-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Cargo.toml
45 lines (38 loc) · 974 Bytes
/
Cargo.toml
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
36
37
38
39
40
41
42
43
44
45
[package]
name = "RocksDict"
version = "0.3.24"
edition = "2021"
description = "Rocksdb Python Binding"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "rocksdict"
crate-type = ["cdylib"]
[[bin]]
name = "create_cf_db"
path = "bin/create-cf-db/main.rs"
test = false
[dependencies]
rocksdb = { path = "rust-rocksdb", default-features = false, features = [
"snappy",
"lz4",
"zstd",
"zlib",
"bzip2",
] }
librocksdb-sys = { path = "rust-rocksdb/librocksdb-sys", default-features = false }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
num-bigint = "0.4"
libc = "0.2"
[features]
default = ["bindgen-runtime"]
bindgen-runtime = ["rocksdb/bindgen-runtime"]
bindgen-static = ["rocksdb/bindgen-static"]
[dependencies.pyo3]
version = "0.22"
features = ["py-clone", "extension-module", "num-bigint"]
[profile.release]
codegen-units = 1
debug = false
lto = "thin"
opt-level = 3