1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-05-19 16:58:14 +00:00

prepare actix-router release 0.5.0-rc.1

This commit is contained in:
Rob Ede 2022-01-14 19:59:36 +00:00
parent 32742d0715
commit edbb9b047e
No known key found for this signature in database
GPG key ID: 97C636207D3EF933
4 changed files with 6 additions and 3 deletions

View file

@ -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"

View file

@ -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<Path<_>>`. [#2568]

View file

@ -1,6 +1,6 @@
[package]
name = "actix-router"
version = "0.5.0-beta.4"
version = "0.5.0-rc.1"
authors = [
"Nikolay Kim <fafhrd91@gmail.com>",
"Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>",

View file

@ -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()