-
Notifications
You must be signed in to change notification settings - Fork 672
/
Cargo.toml
45 lines (40 loc) · 1.14 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
[workspace]
resolver = "2"
members = [
"stackslib",
"stacks-common",
"pox-locking",
"clarity",
"stx-genesis",
"libstackerdb",
"contrib/tools/relay-server",
"libsigner",
"stacks-signer",
"testnet/stacks-node"]
# Dependencies we want to keep the same between workspace members
[workspace.dependencies]
ed25519-dalek = { version = "2.1.1", features = ["serde", "rand_core"] }
hashbrown = { version = "0.14.3", features = ["serde"] }
rand_core = "0.6"
rand = "0.8"
rand_chacha = "0.3.1"
tikv-jemallocator = "0.5.4"
rusqlite = { version = "0.31.0", features = ["blob", "serde_json", "i128_blob", "bundled", "trace"] }
# Use a bit more than default optimization for
# dev builds to speed up test execution
[profile.dev]
opt-level = 1
# Use release-level optimization for dependencies
# This slows down "first" builds on development environments,
# but won't impact subsequent builds.
[profile.dev.package."*"]
opt-level = 3
[profile.release]
debug = true
codegen-units = 1
lto = "fat"
# Release build with less LTO
# Useful for faster builds or low-RAM environments
[profile.release-lite]
inherits = "release"
lto = "thin"