Skip to content

Commit

Permalink
Update to Edition 2021. (#359)
Browse files Browse the repository at this point in the history
smallvec v2's MSRV is already 1.57.0, which is after the relase of Edition 2021 in 1.56.0.

Apply fix for Cargo.toml dev_dependencies warning given by cargo fix --edition.
  • Loading branch information
zachs18 authored Jul 30, 2024
1 parent e9f511e commit 72ff74d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "smallvec"
version = "2.0.0-alpha.7"
edition = "2018"
edition = "2021"
rust-version = "1.57"
authors = ["The Servo Project Developers"]
license = "MIT OR Apache-2.0"
Expand All @@ -21,7 +21,7 @@ extract_if = []
[dependencies]
serde = { version = "1", optional = true, default-features = false }

[dev_dependencies]
[dev-dependencies]
bincode = "1.0.1"

[package.metadata.docs.rs]
Expand Down
2 changes: 1 addition & 1 deletion fuzz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "smallvec-fuzz"
version = "0.1.0"
authors = ["Dawid Ciężarkiewicz <dpc@dpc.pw>"]
edition = "2018"
edition = "2021"
publish = false

[package.metadata]
Expand Down

0 comments on commit 72ff74d

Please sign in to comment.