-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
77 lines (69 loc) · 1.73 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[package]
name = "pearl"
version = "0.21.0"
description = "Pearl is a low level blob-based I/O library"
repository = "https://github.com/qoollo/pearl"
homepage = "https://github.com/qoollo/pearl"
documentation = "https://docs.rs/pearl"
keywords = ["blob", "blob-storage", "append-only", "key-value", "async"]
categories = ["data-structures", "filesystem"]
license = "MIT"
authors = [
"Pavel Yakushin <[email protected]>",
"Kirill Bushminkin <[email protected]>",
"Ilia Kopylov",
"Ivan Druzhitskiy",
"Vladimir Stepanenko",
"Pavel Perestoronin",
"Konstantin Konnov",
"Konstantin Bulany",
"Semyon Romanov"
]
edition = "2021"
readme = "README.md"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
[dependencies]
anyhow = "1.0"
async-trait = "0.1"
bincode = "1.3"
crc = "=3.0.0"
futures = "0.3"
log = "0.4"
sha2 = "0.10"
rio = { version = "0.9.4", optional = true}
serde = "1.0"
serde_derive = "1.0"
thiserror = "1.0"
tokio-stream = "0.1"
nix = { version = "0.26", default_features = false, features = ["fs"] }
libc = "0.2"
static_assertions = "1.1"
bytes = "1.4"
async-lock = "2.7"
# Benchmark only dependencies
clap = { version = "3.2", optional = true }
env_logger = { version = "0.9", optional = true }
rand = { version = "0.8", optional = true }
[dependencies.tokio]
version = "1.28"
features = ["fs", "io-util", "sync", "time", "rt", "macros", "rt-multi-thread"]
[features]
benchmark = ["dep:clap", "dep:env_logger", "dep:rand"]
async-io-rio = ["dep:rio"]
[lib]
name = "pearl"
[[bin]]
name = "benchmark"
path = "src/benchmark/bin.rs"
required-features = ["benchmark"]
[build-dependencies]
chrono = "0.4"
[dev-dependencies]
env_logger = "0.9"
chrono = "0.4"
rand = "0.8"
rusty-fork = "0.3.0"
hex = "0.4"