1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-12-23 00:26:34 +00:00

update changelog

This commit is contained in:
Nikolay Kim 2018-06-02 11:45:37 -07:00
parent 4a39216aa7
commit 593a66324f
2 changed files with 11 additions and 3 deletions

View file

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

View file

@ -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 {}