-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
48 lines (42 loc) · 1.02 KB
/
Cargo.toml
File metadata and controls
48 lines (42 loc) · 1.02 KB
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
[workspace]
members = [
"core/qnet-core",
"core/qnet-consensus",
"core/qnet-mempool",
"core/qnet-state",
"core/qnet-sharding",
"development/qnet-integration",
"audit"
]
resolver = "2"
# Default features for production builds
[workspace.metadata]
default-features = ["production"]
[workspace.dependencies]
# Core blockchain dependencies - production ready versions
tokio = { version = "1.35", features = ["full"] }
serde = { version = "1.0.195", features = ["derive"] }
ed25519-dalek = { version = "2.0.0", features = ["std"] }
actix-web = "4.4"
rocksdb = "0.21"
# Production build profiles for entire workspace
[profile.release]
opt-level = 3
debug = false
strip = true
lto = "fat"
codegen-units = 1
panic = "abort"
[profile.release-fast]
inherits = "release"
opt-level = 3
debug = false
strip = true
lto = "fat"
codegen-units = 1
panic = "abort"
overflow-checks = false
[profile.test]
opt-level = 2 # Optimize tests for better performance
[profile.bench]
debug = true # Include debug info in benchmarks