chore(features): remove feature gate 'alloc'
This commit is contained in:
		| @@ -176,7 +176,6 @@ impl Write for Request<Streaming> { | ||||
|  | ||||
| #[cfg(test)] | ||||
| mod tests { | ||||
|     use std::boxed::BoxAny; | ||||
|     use std::str::from_utf8; | ||||
|     use url::Url; | ||||
|     use method::Method::{Get, Head}; | ||||
|   | ||||
| @@ -103,7 +103,6 @@ impl Read for Response { | ||||
| #[cfg(test)] | ||||
| mod tests { | ||||
|     use std::borrow::Cow::Borrowed; | ||||
|     use std::boxed::BoxAny; | ||||
|     use std::io::{self, Read}; | ||||
|     use std::marker::PhantomData; | ||||
|  | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
| #![feature(core, io, unsafe_destructor, into_cow, convert)] | ||||
| #![deny(missing_docs)] | ||||
| #![cfg_attr(test, deny(warnings))] | ||||
| #![cfg_attr(test, feature(alloc, test))] | ||||
| #![cfg_attr(test, feature(test))] | ||||
|  | ||||
| //! # Hyper | ||||
| //! Hyper is a fast, modern HTTP implementation written in and for Rust. It | ||||
|   | ||||
		Reference in New Issue
	
	Block a user