-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathCargo.toml
40 lines (34 loc) · 877 Bytes
/
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
[workspace]
members = [ "crates/*" ]
exclude = [ "crates/painter" ]
resolver = "2"
[workspace.package]
authors = ["Fredrik Fornwall <[email protected]>"]
edition = "2021"
homepage = "https://github.com/fornwall/advent-of-code"
license = "MIT"
repository = "https://github.com/fornwall/advent-of-code"
rust-version = "1.83.0"
version = "2024.21.0"
[profile.release]
lto = true
panic = 'abort'
codegen-units = 1
[profile.release-quickbuild]
inherits = "release"
lto = false
panic = 'abort'
[profile.bench]
lto = true
codegen-units = 1
[workspace.lints.rust]
deprecated = "deny"
single_use_lifetimes = "warn"
trivial_numeric_casts = "forbid"
unused_lifetimes = "forbid"
[workspace.lints.clippy]
all = { level = "deny", priority = -1 }
cargo = { level = "deny", priority = -1 }
nursery = { level = "deny", priority = -1 }
# Individual lints:
new_without_default = "allow"