-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
44 lines (37 loc) · 913 Bytes
/
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
[workspace]
members = ["cmd_test", "component/*"]
[package]
authors = ["LiangYongrui <[email protected]>"]
description = """
rusty dictionary server
"""
edition = "2021"
name = "rudis"
version = "0.0.0"
license = "MIT"
readme = "readme.md"
[profile.release]
codegen-units = 1
lto = "fat"
opt-level = 3
[[bin]]
name = "server"
path = "./bin/server.rs"
[[bin]]
name = "pd"
path = "./bin/pd.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
server = { path = "./component/server" }
structopt = "0.3"
tokio = { version = "1", features = ["full"] }
tracing = "0.1"
tracing-subscriber = "0.3"
common = { path = "component/common" }
pd = { path = "component/pd" }
[target.'cfg(not(target_env = "msvc"))'.dependencies]
tikv-jemallocator = "0.5.0"
[dev-dependencies.cargo-husky]
version = "1"
default-features = false
features = ["user-hooks"]