-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
79 lines (68 loc) · 1.53 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
79
[env]
RUST_LOG = "debug"
[doc]
browser = "chromium"
[package]
name = "rs-tutorial"
version = "1.0.0"
edition = "2021"
[dev-dependencies]
pretty_assertions = "1.4.1"
criterion = "0.5.1"
[[bench]]
name = "my_benchmark"
harness = false
[dependencies]
rand = "0.8.5"
log = "0.4.22" # log api
env_logger = "0.11.5" # log impl
tracing = "0.1.40" # tracing
tracing-subscriber = "0.3.18"
tracing-appender = "0.2.3"
serde = { version = "1.0.213", features = ["derive"] }
serde_json = "1.0.132" # json lib
#rust-csv = "0.1.0"
criterion = "0.5.1"
#sqlx = "0.8.2" # sql client
#redis_rs = "0.9.0" # redis client
#rayon = "1.10.0" # for CPU task
#tokio = "1.41.0" # async lib for IO task
#tokio-tungstenite = "0.24.0" # websocket
#tonic = "0.12.3" # gRPC lib
rocket = "0.5.1"
futures = { version = "0.3.31", features = ["thread-pool"] } # web server
num-traits = "0.2.19"
num-derive = "0.4.2"
lazy_static = "1.5.0"
chrono = "0.4.38"
async-std = "1.13.0"
[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.test]
opt-level = 2
[profile.release]
opt-level = 3
debug = false
split-debuginfo = '...' # Platform-specific.
debug-assertions = false
overflow-checks = false
lto = false
panic = 'unwind' # or 'abort'
incremental = false
codegen-units = 16
rpath = false
[profile.dev.build-override]
opt-level = 0
codegen-units = 256
[profile.release.build-override]
opt-level = 0
codegen-units = 256