Skip to content

Commit 1146b6b

Browse files
committed
chore: upgrade to Rust 2024 edition
1 parent 97cba0a commit 1146b6b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "asserting"
33
version = "0.14.0"
44
authors = ["haraldmaida"]
55
license = "MIT OR Apache-2.0"
6-
edition = "2021"
6+
edition = "2024"
77
rust-version = "1.85.1"
88
repository = "https://github.com/innoave/asserting"
99
readme = "README.md"
@@ -73,15 +73,19 @@ version-sync.opt-level = 3
7373
[lints.rust]
7474
unsafe_code = "forbid"
7575
unstable_features = "forbid"
76+
deprecated_safe = { level = "forbid", priority = -1 }
7677
bare_trait_objects = "warn"
7778
deprecated = "warn"
7879
explicit_outlives_requirements = "warn"
80+
keyword_idents_2024 = "warn"
7981
noop_method_call = "warn"
8082
rust_2018_idioms = { level = "warn", priority = -1 }
8183
rust_2021_incompatible_closure_captures = "warn"
8284
rust_2021_incompatible_or_patterns = "warn"
8385
rust_2021_prefixes_incompatible_syntax = "warn"
8486
rust_2021_prelude_collisions = "warn"
87+
rust_2024_guarded_string_incompatible_syntax = "warn"
88+
rust_2024_prelude_collisions = "warn"
8589
single_use_lifetimes = "warn"
8690
trivial_casts = "warn"
8791
trivial_numeric_casts = "warn"

0 commit comments

Comments
 (0)