Cargo.toml: edition 2024, remove deprecated fields, format with tombi
This commit is contained in:
+9
-10
@@ -1,26 +1,25 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "logtimes"
|
name = "logtimes"
|
||||||
version = "1.0.29"
|
version = "1.0.29"
|
||||||
authors = ["Paul Schulze <p.schulze@avm.de>"]
|
edition = "2024"
|
||||||
edition = "2021"
|
|
||||||
|
|
||||||
[dependencies.chrono]
|
[dependencies.chrono]
|
||||||
version = "0.4"
|
version = "0.4"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = ["std", "clock"]
|
features = ["clock", "std"]
|
||||||
|
|
||||||
|
[lints.clippy]
|
||||||
|
inline_always = "allow"
|
||||||
|
pedantic = { level = "warn", priority = -1 }
|
||||||
|
todo = "warn"
|
||||||
|
unwrap_used = "warn"
|
||||||
|
|
||||||
[lints.rust]
|
[lints.rust]
|
||||||
unsafe_code = "forbid"
|
unsafe_code = "forbid"
|
||||||
|
|
||||||
[lints.clippy]
|
|
||||||
pedantic = { level = "warn", priority = -1 }
|
|
||||||
todo = "warn"
|
|
||||||
unwrap_used = "warn"
|
|
||||||
inline_always = "allow"
|
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
lto = true
|
|
||||||
debug = false
|
debug = false
|
||||||
strip = true
|
strip = true
|
||||||
|
lto = true
|
||||||
panic = "unwind"
|
panic = "unwind"
|
||||||
codegen-units = 1
|
codegen-units = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user