-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
45 lines (39 loc) · 1.04 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
[package]
name = "aurora-channel"
version = "0.2.0"
authors = ["Carlos Eduardo Melo <[email protected]>"]
edition = "2018"
license-file = "LICENSE"
[features]
default = ["format-bincode", "compression-snappy"]
format-bincode = ["bincode"]
format-json = ["serde_json"]
compression-snappy = ["snap"]
compression-lz4 = ["lz4"]
[dependencies]
bytes = "^0.5"
byteorder = "^1.3"
chrono = "^0.4"
errno = "^0.2"
futures = "^0.3"
memmap = "^0.7"
serde = { version = "^1.0", features = ["derive"] }
thiserror = "^1.0"
tokio = { version = "^0.2", features = ["full"] }
tracing = "^0.1"
tracing-futures = "^0.2"
## Optional dependencies used by features
bincode = { version = "^1.2", optional = true }
serde_json = { version = "^1.0", optional = true }
snap = { version = "^1.0", optional = true }
lz4 = { version = "^1.23", optional = true }
[target.'cfg(unix)'.dependencies]
libc = "^0.2"
[dev-dependencies]
tokio = { version = "^0.2", features = ["full"] }
criterion = "^0.3"
tempfile = "^3.1"
nix = "^0.17"
[[bench]]
name = "single_threaded"
harness = false