fmt: Cargo.toml with tombi
This commit is contained in:
+7
-7
@@ -3,8 +3,8 @@ name = "linkspeed"
|
|||||||
version = "0.1.3"
|
version = "0.1.3"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
|
||||||
[lints.rust]
|
[dependencies]
|
||||||
unsafe_code = "forbid"
|
eyre = "0.6"
|
||||||
|
|
||||||
[lints.clippy]
|
[lints.clippy]
|
||||||
redundant_closure_for_method_calls = "allow"
|
redundant_closure_for_method_calls = "allow"
|
||||||
@@ -14,22 +14,22 @@ pedantic = { level = "warn", priority = -1 }
|
|||||||
todo = "warn"
|
todo = "warn"
|
||||||
unwrap_used = "warn"
|
unwrap_used = "warn"
|
||||||
|
|
||||||
[dependencies]
|
[lints.rust]
|
||||||
eyre = "0.6"
|
unsafe_code = "forbid"
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
debug = true
|
debug = true
|
||||||
|
strip = false
|
||||||
debug-assertions = true
|
debug-assertions = true
|
||||||
overflow-checks = true
|
overflow-checks = true
|
||||||
strip = false
|
|
||||||
lto = false
|
lto = false
|
||||||
panic = "unwind"
|
panic = "unwind"
|
||||||
codegen-units = 1
|
codegen-units = 1
|
||||||
|
|
||||||
[profile.release-lto]
|
[profile.release-lto]
|
||||||
inherits = "release"
|
inherits = "release"
|
||||||
lto = true
|
|
||||||
debug = false
|
debug = false
|
||||||
|
strip = true
|
||||||
debug-assertions = false
|
debug-assertions = false
|
||||||
overflow-checks = false
|
overflow-checks = false
|
||||||
strip = true
|
lto = true
|
||||||
|
|||||||
Reference in New Issue
Block a user