-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
34 lines (29 loc) · 701 Bytes
/
Copy pathCargo.toml
File metadata and controls
34 lines (29 loc) · 701 Bytes
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
[workspace]
resolver = "2"
members = [
"frontend",
"backend",
"common"
]
[workspace.dependencies]
anyhow = "1"
chrono = "0.4.24"
enum-iterator = "1.4.0"
itertools = "0.10.5"
regex = "1.7.3"
serde = "1"
serde_json = "1"
sqlx = "0.7.0-alpha.3"
nndb-common = { path = "common" }
once_cell = "1.17.1"
# Compile all build scripts and macros in release
[profile.dev.build-override]
opt-level = 3
# Speed up files processing in debug mode
[profile.dev.package.nndb-frontend]
opt-level = 2
[profile.release]
debug = true # Retain debug info
opt-level = 3
lto = "fat" # Enable link-time optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations