diff --git a/Cargo.toml b/Cargo.toml index 42de9df1..1323b4cc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -78,7 +78,7 @@ actix-utils = "3.0.0" actix-tls = { version = "3.0.0", default-features = false, optional = true } actix-http = "3.0.0-beta.18" -actix-router = "0.5.0-beta.4" +actix-router = "0.5.0-rc.1" actix-web-codegen = "0.5.0-rc.1" ahash = "0.7" diff --git a/actix-router/CHANGES.md b/actix-router/CHANGES.md index 3034ed79..f268ffa9 100644 --- a/actix-router/CHANGES.md +++ b/actix-router/CHANGES.md @@ -1,6 +1,9 @@ # Changes ## Unreleased - 2021-xx-xx + + +## 0.5.0-rc.1 - 2022-01-14 - `Resource` trait now have an associated type, `Path`, instead of the generic parameter. [#2568] - `Resource` is now implemented for `&mut Path<_>` and `RefMut>`. [#2568] diff --git a/actix-router/Cargo.toml b/actix-router/Cargo.toml index 80161356..56a755ef 100644 --- a/actix-router/Cargo.toml +++ b/actix-router/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "actix-router" -version = "0.5.0-beta.4" +version = "0.5.0-rc.1" authors = [ "Nikolay Kim ", "Ali MJ Al-Nasrawy ", diff --git a/src/resource.rs b/src/resource.rs index 193757ea..dd7d4b0d 100644 --- a/src/resource.rs +++ b/src/resource.rs @@ -510,7 +510,7 @@ mod tests { } fn my_resource_3() -> impl HttpServiceFactory { - web::resource("/test2").route(web::get().to(|| async { "hello" })) + web::resource("/test3").route(web::get().to(|| async { "hello" })) } App::new()