mirror of
https://github.com/actix/actix-web.git
synced 2024-12-21 23:56:35 +00:00
add more migration
This commit is contained in:
parent
7801fcb993
commit
0eed9e5257
1 changed files with 10 additions and 1 deletions
11
MIGRATION.md
11
MIGRATION.md
|
@ -96,7 +96,7 @@ HttpRequest's api.
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
* AsyncResponder is deprecated.
|
* AsyncResponder is removed.
|
||||||
|
|
||||||
instead of
|
instead of
|
||||||
|
|
||||||
|
@ -142,6 +142,8 @@ HttpRequest's api.
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
use
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
fn index(body: Bytes) -> Responder {
|
fn index(body: Bytes) -> Responder {
|
||||||
...
|
...
|
||||||
|
@ -164,6 +166,13 @@ HttpRequest's api.
|
||||||
|
|
||||||
use `use actix_multipart::Multipart`
|
use `use actix_multipart::Multipart`
|
||||||
|
|
||||||
|
* Request/response compression/decompression is not enabled by default.
|
||||||
|
To enable use `App::enable_encoding()` method.
|
||||||
|
|
||||||
|
* `actix_web::server` module has been removed. To start http server use `actix_web::HttpServer` type
|
||||||
|
|
||||||
|
* Actors support have been moved to `actix-web-actors` crate
|
||||||
|
|
||||||
|
|
||||||
## 0.7.15
|
## 0.7.15
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue