Migrate to 2024 edition
This commit is contained in:
parent
f45e66f572
commit
25d2cc7c98
2 changed files with 3 additions and 7 deletions
|
|
@ -1,10 +1,10 @@
|
||||||
[workspace]
|
[workspace]
|
||||||
resolver = "2"
|
resolver = "3"
|
||||||
members = ["cove", "cove-*"]
|
members = ["cove", "cove-*"]
|
||||||
|
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
version = "0.8.3"
|
version = "0.8.3"
|
||||||
edition = "2021"
|
edition = "2024"
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
anyhow = "1.0.96"
|
anyhow = "1.0.96"
|
||||||
|
|
@ -68,11 +68,6 @@ rust.unused_lifetimes = "warn"
|
||||||
rust.unused_qualifications = "warn"
|
rust.unused_qualifications = "warn"
|
||||||
# Clippy
|
# Clippy
|
||||||
clippy.use_self = "warn"
|
clippy.use_self = "warn"
|
||||||
# Migrating to the 2024 edition
|
|
||||||
rust.rust_2024_compatibility = "warn"
|
|
||||||
rust.edition_2024_expr_fragment_specifier = { level = "allow", priority = 1 }
|
|
||||||
rust.if_let_rescope = { level = "allow", priority = 1 }
|
|
||||||
rust.tail_expr_drop_order = { level = "allow", priority = 1 }
|
|
||||||
|
|
||||||
[profile.dev.package."*"]
|
[profile.dev.package."*"]
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
|
|
|
||||||
1
rustfmt.toml
Normal file
1
rustfmt.toml
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
style_edition = "2021"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue