-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
51 lines (43 loc) · 1.2 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
[package]
name = "justbus-rs"
version = "0.4.0"
authors = ["Budi Syahiddin <[email protected]>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
actix-web = "4.0.0-beta.9"
serde = { version = "1.0" }
serde_json = "1.0"
hashbrown-time = { path = "./hashbrown", optional = true }
parking_lot = { version = "0.11.0", optional = true}
justbus-utils = { path = "./justbus-utils" }
lta = "0.5"
dashmap-time = { path = "./dashmap", optional = true}
env_logger = { version = "0.7.1", optional = true }
log = { version = "0.4.11", optional = true }
rustls = { version = "0.19", optional = true }
argh = "0.1.3"
thiserror = "1.0.29"
[target.'cfg(not(target_env = "msvc"))'.dependencies]
jemallocator = "0.3.2"
[target.'cfg(target_os = "windows")'.dependencies]
mimalloc = "0.1.26"
[features]
default = ["swisstable"]
swisstable = ["hashbrown-time", "parking_lot"]
nightly = ["parking_lot/nightly"]
dashmap = ["dashmap-time"]
tls = ["actix-web/rustls", "rustls"]
logging = ["env_logger", "log"]
[workspace]
members = [
"hashbrown",
"dashmap",
"justbus-utils",
]
[profile.dev]
opt-level = 0
[profile.release]
opt-level = 3
codegen-units = 1
lto = true