mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-27 17:52:56 +01:00
prepare actix-router release 0.5.0-rc.1
This commit is contained in:
parent
32742d0715
commit
edbb9b047e
@ -78,7 +78,7 @@ actix-utils = "3.0.0"
|
|||||||
actix-tls = { version = "3.0.0", default-features = false, optional = true }
|
actix-tls = { version = "3.0.0", default-features = false, optional = true }
|
||||||
|
|
||||||
actix-http = "3.0.0-beta.18"
|
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"
|
actix-web-codegen = "0.5.0-rc.1"
|
||||||
|
|
||||||
ahash = "0.7"
|
ahash = "0.7"
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
# Changes
|
# Changes
|
||||||
|
|
||||||
## Unreleased - 2021-xx-xx
|
## 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` trait now have an associated type, `Path`, instead of the generic parameter. [#2568]
|
||||||
- `Resource` is now implemented for `&mut Path<_>` and `RefMut<Path<_>>`. [#2568]
|
- `Resource` is now implemented for `&mut Path<_>` and `RefMut<Path<_>>`. [#2568]
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "actix-router"
|
name = "actix-router"
|
||||||
version = "0.5.0-beta.4"
|
version = "0.5.0-rc.1"
|
||||||
authors = [
|
authors = [
|
||||||
"Nikolay Kim <fafhrd91@gmail.com>",
|
"Nikolay Kim <fafhrd91@gmail.com>",
|
||||||
"Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>",
|
"Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>",
|
||||||
|
@ -510,7 +510,7 @@ mod tests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn my_resource_3() -> impl HttpServiceFactory {
|
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()
|
App::new()
|
||||||
|
Loading…
Reference in New Issue
Block a user