36 lines
567 B
TOML
36 lines
567 B
TOML
[package]
|
|
name = "linkspeed"
|
|
version = "0.1.2"
|
|
edition = "2024"
|
|
|
|
[lints.rust]
|
|
unsafe_code = "forbid"
|
|
|
|
[lints.clippy]
|
|
redundant_closure_for_method_calls = "allow"
|
|
similar_names = "allow"
|
|
|
|
pedantic = { level = "warn", priority = -1 }
|
|
todo = "warn"
|
|
unwrap_used = "warn"
|
|
|
|
[dependencies]
|
|
eyre = "0.6"
|
|
|
|
[profile.release]
|
|
debug = true
|
|
debug-assertions = true
|
|
overflow-checks = true
|
|
strip = false
|
|
lto = false
|
|
panic = "unwind"
|
|
codegen-units = 1
|
|
|
|
[profile.release-lto]
|
|
inherits = "release"
|
|
lto = true
|
|
debug = false
|
|
debug-assertions = false
|
|
overflow-checks = false
|
|
strip = true
|