Updated rust to 2024 edition
This commit is contained in:
@@ -6,3 +6,4 @@ members = [
|
||||
]
|
||||
resolver = "2"
|
||||
package.version = "0.1.0"
|
||||
package.edition = "2024"
|
||||
@@ -1,4 +1,4 @@
|
||||
[package]
|
||||
name = "adsb_lib"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
edition = "2024"
|
||||
@@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "adsb_recv"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
adsb_lib = { path = "../adsb_lib" }
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "adsb_sim"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
adsb_lib = { path = "../adsb_lib" }
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "api"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
edition = "2024"
|
||||
authors = ["Ben Sherriff <ben@bensherriff.com>"]
|
||||
repository = "https://gitea.bensherriff.com/bsherriff/aviation"
|
||||
readme = "../README.md"
|
||||
|
||||
@@ -151,7 +151,7 @@ async fn validate_session(req: HttpRequest) -> HttpResponse {
|
||||
None => {
|
||||
return HttpResponse::Unauthorized()
|
||||
.cookie(Session::empty_cookie())
|
||||
.finish()
|
||||
.finish();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user