forked from dermesser/leveldb-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
52 lines (44 loc) · 1.16 KB
/
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
46
47
48
49
50
51
52
[package]
name = "rusty-leveldb"
version = "3.0.0"
authors = ["Lewin Bormann <[email protected]>"]
description = "A compatible re-implementation of LevelDB in Rust"
homepage = "https://github.com/dermesser/leveldb-rs"
repository = "https://github.com/dermesser/leveldb-rs"
readme = "README.md"
keywords = ["LevelDB", "key-value", "database", "SSTable", "Google"]
license = "MIT"
publish = true
edition = "2018"
include = ["src/**/*", "src/*", "Cargo.toml", "LICENSE", "README.md"]
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
crc = "1.8"
integer-encoding = "3.0"
rand = "0.8.5"
snap = "1.0"
errno = { optional = true, version = "0.2" }
fs2 = {optional = true, version = "0.4.3"}
tokio = { optional = true, features = ["rt", "sync"], version = ">= 1.21" }
[features]
default = ["fs"]
async = ["tokio"]
fs = ["errno", "fs2"]
[dev-dependencies]
time-test = "0.2"
bencher = "0.1"
[[bench]]
name = "maps_bench"
harness = false
path = "src/benches/maps_bench.rs"
[workspace]
members = [
"examples/write-a-lot",
"examples/leveldb-tool",
"examples/word-analyze",
"examples/stresstest",
"examples/asyncdb",
"examples/mcpe",
"examples/kvserver",
]