mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-27 17:22:57 +01:00
update changelog
This commit is contained in:
parent
4a39216aa7
commit
593a66324f
12
CHANGES.md
12
CHANGES.md
@ -6,20 +6,28 @@
|
||||
|
||||
* Re-export `actix::prelude::*` as `actix_web::actix` module.
|
||||
|
||||
* `HttpRequest::url_for_static()` for a named route with no variables segments
|
||||
|
||||
|
||||
### Changed
|
||||
|
||||
* Migrate to tokio
|
||||
|
||||
* Min rustc version is 1.26
|
||||
|
||||
* Use tokio instead of tokio-core
|
||||
|
||||
* Use `&mut self` instead of `&self` for Middleware trait
|
||||
|
||||
|
||||
### Removed
|
||||
|
||||
* Remove `Route::with2()` and `Route::with3()` use tuple of extractors instead.
|
||||
|
||||
|
||||
### Fixed
|
||||
|
||||
* `HttpRequest::url_for()` for a named route with no variables segments #265
|
||||
|
||||
|
||||
## [0.6.10] - 2018-05-24
|
||||
|
||||
### Added
|
||||
|
@ -35,7 +35,7 @@
|
||||
fn index(query: Query<..>, info: Json<MyStruct) -> impl Responder {}
|
||||
```
|
||||
|
||||
use tuple of extractors:
|
||||
use tuple of extractors and use `.with()` for registration:
|
||||
|
||||
```rust
|
||||
fn index((query, json): (Query<..>, Json<MyStruct)) -> impl Responder {}
|
||||
|
Loading…
Reference in New Issue
Block a user