Skip to content

Commit

Permalink
chore: update to edition 2021
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto committed Aug 24, 2024
1 parent 49f5f4b commit 8fb8dc6
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "2.0.1"
authors = ["David Herman <david.herman@gmail.com>", "Charles Pierce <cpierce.grad@gmail.com>"]
license = "BSD-2-Clause"
repository = "https://github.com/volta-cli/volta"
edition = "2018"
edition = "2021"

[features]
cross-platform-docs = ["volta-core/cross-platform-docs"]
Expand Down
4 changes: 2 additions & 2 deletions crates/archive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "archive"
version = "0.1.0"
authors = ["David Herman <david.herman@gmail.com>"]
edition = "2018"
edition = "2021"

[dependencies]
flate2 = "1.0"
Expand All @@ -20,4 +20,4 @@ cfg-if = "1.0"
headers = "0.4"
thiserror = "1.0.16"
attohttpc = { version = "0.28", default-features = false, features = ["json", "compress", "tls-rustls-native-roots"] }
log = { version = "0.4", features = ["std"] }
log = { version = "0.4", features = ["std"] }
2 changes: 1 addition & 1 deletion crates/fs-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
name = "fs-utils"
version = "0.1.0"
authors = ["Michael Stewart <mikrostew@gmail.com>"]
edition = "2018"
edition = "2021"

[dependencies]
2 changes: 1 addition & 1 deletion crates/progress-read/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
name = "progress-read"
version = "0.1.0"
authors = ["David Herman <david.herman@gmail.com>"]
edition = "2018"
edition = "2021"

[dependencies]
2 changes: 1 addition & 1 deletion crates/test-support/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "test-support"
version = "0.1.0"
authors = ["David Herman <david.herman@gmail.com>"]
edition = "2018"
edition = "2021"

[dependencies]
hamcrest2 = "0.3.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/validate-npm-package-name/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "validate-npm-package-name"
version = "0.1.0"
authors = ["Chris Krycho <hello@chriskrycho.com>"]
edition = "2018"
edition = "2021"

[lib]

Expand Down
4 changes: 2 additions & 2 deletions crates/volta-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "volta-core"
version = "0.1.0"
authors = ["David Herman <david.herman@gmail.com>"]
edition = "2018"
edition = "2021"

[features]
mock-network = ["mockito"]
Expand Down Expand Up @@ -56,4 +56,4 @@ which = "6.0.3"

[target.'cfg(windows)'.dependencies]
winreg = "0.52.0"
junction = "1.1.0"
junction = "1.1.0"
2 changes: 1 addition & 1 deletion crates/volta-layout-macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "volta-layout-macro"
version = "0.1.0"
authors = ["David Herman <david.herman@gmail.com>"]
edition = "2018"
edition = "2021"

[lib]
proc-macro = true
Expand Down
2 changes: 1 addition & 1 deletion crates/volta-layout/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "volta-layout"
version = "0.1.1"
authors = ["Chuck Pierce <cpierce.grad@gmail.com>"]
edition = "2018"
edition = "2021"

[dependencies]
volta-layout-macro = { path = "../volta-layout-macro" }
2 changes: 1 addition & 1 deletion crates/volta-migrate/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "volta-migrate"
version = "0.1.0"
authors = ["Charles Pierce <cpierce.grad@gmail.com>"]
edition = "2018"
edition = "2021"

[dependencies]
volta-core = { path = "../volta-core" }
Expand Down

0 comments on commit 8fb8dc6

Please sign in to comment.