-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
78 lines (71 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
78
[package]
name = "dataserver"
version = "0.1.0"
authors = ["Yanhao Mo <[email protected]>"]
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
thiserror = "1.0"
chrono = "0.4"
clap = { version = "4", features = ["derive"] }
anyhow = "1.0"
# raft = { git = "https://github.com/tikv/raft-rs", version = "0.6.0-alpha", default-features = false, features = ["prost-codec", "default-logger"] }
raft = { version = "0.6", default-features = false, features = ["prost-codec", "default-logger"] }
tokio = { version = "1", features = ["full", "tracing"] }
futures-util = "0.3.21"
prost = "0.7"
prost-types = "0.7"
tonic = "0.4"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
lazy_static = "1.4"
toml = "0.5"
get_if_addrs = "0.5"
async-channel = "1.6"
protobuf = "2"
regex = "1"
libc = "0.2"
once_cell = "1.10.0"
futures = "0.3"
sled = "0.34.7"
scopeguard = "1.1.0"
console-subscriber = "0.1.7"
num-bigint = "0.4.3"
parking_lot = "0.12.1"
tracing = "0.1"
tracing-subscriber = "0.3"
arc-swap = "1.6.0"
derivative = "2"
im = "15.1.0"
bytes = "1"
itertools = "0.11"
psutil = "3.2"
typed-builder = "0.15"
idl-gen = { path = "./idl-gen" }
# [[bin]]
# name = "dataserver"
# path = "src/dataserver.rs"
# [[bin]]
# name = "dscli"
# path = "src/dscli.rs"
[profile.dev]
opt-level = 0
debug = true
split-debuginfo = '...' # Platform-specific.
debug-assertions = true
overflow-checks = true
lto = false
panic = 'unwind'
incremental = true
codegen-units = 256
rpath = false
[profile.release]
opt-level = 3
debug = true # set to false to disable debug info
debug-assertions = false
overflow-checks = false
lto = true
panic = 'unwind'
incremental = false
codegen-units = 1
rpath = false