Skip to content

Commit 41c24f9

Browse files
chore: Set Rust edition to 2021
1 parent 75fdcc9 commit 41c24f9

File tree

8 files changed

+8
-7
lines changed

8 files changed

+8
-7
lines changed

aw-client-rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "aw-client-rust"
33
version = "0.1.0"
4-
edition = "2018"
4+
edition = "2021"
55
authors = ["Johan Bjäreholt <johan@bjareho.lt>"]
66

77
[dependencies]

aw-datastore/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "aw-datastore"
33
version = "0.1.0"
44
authors = ["Johan Bjäreholt <johan@bjareho.lt>"]
5-
edition = "2018"
5+
edition = "2021"
66

77
[features]
88
default = [] # no features by default

aw-models/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "aw-models"
33
version = "0.1.0"
44
authors = ["Johan Bjäreholt <johan@bjareho.lt>"]
5-
edition = "2018"
5+
edition = "2021"
66

77
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
88

aw-query/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "aw-query"
33
version = "0.1.0"
44
authors = ["Johan Bjäreholt <johan@bjareho.lt>"]
5-
edition = "2018"
5+
edition = "2021"
66

77
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
88

aw-server/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "aw-server"
33
version = "0.11.0"
44
authors = ["Johan Bjäreholt <johan@bjareho.lt>", "Erik Bjäreholt <erik@bjareho.lt>"]
5-
edition = "2018"
5+
edition = "2021"
66

77
[lib]
88
name = "aw_server"

aw-server/src/endpoints/hostcheck.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ impl rocket::route::Handler for FairingErrorRoute {
4040
request: &'r Request<'_>,
4141
_: rocket::Data<'r>,
4242
) -> rocket::route::Outcome<'r> {
43+
let _ = &__arg2;
4344
let err = HttpErrorJson::new(Status::BadRequest, "Host header is invalid".to_string());
4445
Outcome::from(request, err)
4546
}

aw-sync/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "aw-sync"
33
version = "0.1.0"
44
authors = ["Erik Bjäreholt <erik@bjareho.lt>"]
5-
edition = "2018"
5+
edition = "2021"
66

77
[lib]
88
name = "aw_sync"

aw-transform/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "aw-transform"
33
version = "0.1.0"
44
authors = ["Johan Bjäreholt <johan@bjareho.lt>"]
5-
edition = "2018"
5+
edition = "2021"
66

77
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
88

0 commit comments

Comments
 (0)