mirror of
https://github.com/actix/actix-web.git
synced 2024-05-20 01:08:10 +00:00
actix-test: re-export types from awc
This allows us to pass these types around in functions, without having to add `awc` as a direct (dev-)dependency.
This commit is contained in:
parent
babac131d4
commit
546c9836b3
|
@ -3,6 +3,7 @@
|
|||
## Unreleased
|
||||
|
||||
- Minimum supported Rust version (MSRV) is now 1.72.
|
||||
- Various types from `awc`, such as `ClientRequest` and `ClientResponse`, are now re-exported.
|
||||
|
||||
## 0.1.3
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ use actix_web::{
|
|||
rt::{self, System},
|
||||
web, Error,
|
||||
};
|
||||
use awc::{error::PayloadError, Client, ClientRequest, ClientResponse, Connector};
|
||||
pub use awc::{error::PayloadError, Client, ClientRequest, ClientResponse, Connector};
|
||||
use futures_core::Stream;
|
||||
use tokio::sync::mpsc;
|
||||
|
||||
|
|
Loading…
Reference in a new issue