Rename 'unstable-stream' feature to 'stream' (#733)
This commit is contained in:
		| @@ -65,10 +65,10 @@ impl Body { | ||||
|     /// # } | ||||
|     /// ``` | ||||
|     /// | ||||
|     /// # Unstable | ||||
|     /// # Optional | ||||
|     /// | ||||
|     /// This requires the `unstable-stream` feature to be enabled. | ||||
|     #[cfg(feature = "unstable-stream")] | ||||
|     /// This requires the `stream` feature to be enabled. | ||||
|     #[cfg(feature = "stream")] | ||||
|     pub fn wrap_stream<S>(stream: S) -> Body | ||||
|     where | ||||
|         S: futures_core::stream::TryStream + Send + Sync + 'static, | ||||
|   | ||||
| @@ -573,7 +573,7 @@ mod tests { | ||||
|     } | ||||
|  | ||||
|     #[test] | ||||
|     #[cfg(feature = "unstable-stream")] | ||||
|     #[cfg(feature = "stream")] | ||||
|     fn try_clone_stream() { | ||||
|         let chunks: Vec<Result<_, ::std::io::Error>> = vec![ | ||||
|             Ok("hello"), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user