mirror of
https://github.com/fafhrd91/actix-web
synced 2025-01-18 05:41:50 +01:00
add more migration
This commit is contained in:
parent
7801fcb993
commit
0eed9e5257
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…
x
Reference in New Issue
Block a user