-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
46 lines (38 loc) · 1.03 KB
/
Cargo.toml
File metadata and controls
46 lines (38 loc) · 1.03 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
cargo-features = ["profile-rustflags"]
[workspace]
resolver = "3"
members = ["aoc2025"]
[workspace.package]
authors = ["sonicjhon1"]
edition = "2024"
repository = "https://github.com/sonicjhon1/AdventOfCode"
[workspace.dependencies]
# Common deps
dashmap = { version = "6.1.0", features = ["inline", "rayon"] }
derive_more = { version = "2.1", features = ["full"] }
itertools = { version = "0.14" }
parking_lot = { version = "0.12", features = [
"hardware-lock-elision",
"nightly",
] }
rayon = { version = "1.11" }
tracing = { version = "0.1", features = ["log"] }
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
[workspace.lints.clippy]
needless_return = "allow"
type_complexity = "allow"
[profile.dev]
opt-level = 1
# Enable high optimizations for dependencies, but not for our code:
[profile.dev.package."*"]
opt-level = 3
[profile.release]
opt-level = 'z'
lto = true
strip = true
incremental = false
panic = "abort"
debug = false
[profile.native]
inherits = "release"
rustflags = ["-Ctarget-cpu=native"]