Put Stream APIs behind unstable-stream feature

This commit is contained in:
Sean McArthur
2019-09-27 15:44:00 -07:00
parent 8e1a29ce1b
commit ebe57e10a3
7 changed files with 32 additions and 6 deletions

View File

@@ -51,6 +51,7 @@ async fn text_part() {
assert_eq!(res.status(), reqwest::StatusCode::OK);
}
#[cfg(feature = "unstable-stream")]
#[tokio::test]
async fn stream_part() {
use futures_util::{future, stream};