-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
63 lines (51 loc) · 1.33 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
[package]
name = "spartan"
version = "0.7.0"
authors = ["ivan770 <[email protected]>"]
edition = "2018"
[[bin]]
name = "spartan"
path = "spartan/main.rs"
[lib]
name = "spartan_lib"
path = "spartan_lib/lib.rs"
[profile.release]
lto = true
[features]
default = ["replication", "init"]
# Queue replication support
replication = ["tokio-util", "itertools"]
# Init command
init = ["dialoguer"]
[dependencies]
bytes = { version = "0.5" }
warp = { git = "https://github.com/ivan770/warp" }
structopt = { version = "0.3" }
log = { version = "0.4" }
pretty_env_logger = { version = "0.4" }
serde = { version = "1.0" }
bincode = { version = "1.3" }
toml = { version = "0.5" }
thiserror = { version = "1.0" }
anyhow = { version = "1.0" }
futures-util = { version = "0.3" }
once_cell = { version = "1.5" }
tokio-util = { version = "0.3", optional = true }
itertools = { version = "0.10", optional = true }
cfg-if = { version = "1.0" }
dialoguer = { version = "0.7", optional = true }
[dev-dependencies]
tempfile = { version = "3.1" }
serde_json = { version = "1.0" }
[dependencies.tokio]
version = "0.2"
features = ["macros", "rt-threaded", "fs", "tcp", "sync", "signal"]
[dependencies.maybe-owned]
version = "0.3"
features = ["serde"]
[dependencies.uuid]
version = "0.8"
features = ["v4", "serde"]
[dependencies.chrono]
version = "0.4"
features = ["serde"]