diff --git a/adsb/Cargo.toml b/adsb/Cargo.toml index f91765a..0eb62b8 100644 --- a/adsb/Cargo.toml +++ b/adsb/Cargo.toml @@ -5,4 +5,5 @@ members = [ "adsb_sim" ] resolver = "2" -package.version = "0.1.0" \ No newline at end of file +package.version = "0.1.0" +package.edition = "2024" \ No newline at end of file diff --git a/adsb/adsb_lib/Cargo.toml b/adsb/adsb_lib/Cargo.toml index bdc6fa5..948022c 100644 --- a/adsb/adsb_lib/Cargo.toml +++ b/adsb/adsb_lib/Cargo.toml @@ -1,4 +1,4 @@ [package] name = "adsb_lib" version = "0.1.0" -edition = "2021" \ No newline at end of file +edition = "2024" \ No newline at end of file diff --git a/adsb/adsb_recv/Cargo.toml b/adsb/adsb_recv/Cargo.toml index 3d0e052..1f30ab6 100644 --- a/adsb/adsb_recv/Cargo.toml +++ b/adsb/adsb_recv/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "adsb_recv" version = "0.1.0" -edition = "2021" +edition = "2024" [dependencies] adsb_lib = { path = "../adsb_lib" } diff --git a/adsb/adsb_sim/Cargo.toml b/adsb/adsb_sim/Cargo.toml index 608eb6f..7ebf7c9 100644 --- a/adsb/adsb_sim/Cargo.toml +++ b/adsb/adsb_sim/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "adsb_sim" version = "0.1.0" -edition = "2021" +edition = "2024" [dependencies] adsb_lib = { path = "../adsb_lib" } diff --git a/api/Cargo.toml b/api/Cargo.toml index e7c3f83..b770918 100644 --- a/api/Cargo.toml +++ b/api/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "api" version = "0.1.0" -edition = "2021" +edition = "2024" authors = ["Ben Sherriff "] repository = "https://gitea.bensherriff.com/bsherriff/aviation" readme = "../README.md" diff --git a/api/src/account/routes.rs b/api/src/account/routes.rs index 6f3e4fb..47e614a 100644 --- a/api/src/account/routes.rs +++ b/api/src/account/routes.rs @@ -151,7 +151,7 @@ async fn validate_session(req: HttpRequest) -> HttpResponse { None => { return HttpResponse::Unauthorized() .cookie(Session::empty_cookie()) - .finish() + .finish(); } };