chore(features): remove feature gate 'alloc'

This commit is contained in:
Sean McArthur
2015-03-31 18:46:02 -07:00
parent dc55ecf982
commit dd5ee43750
3 changed files with 1 additions and 3 deletions

View File

@@ -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};

View File

@@ -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;

View File

@@ -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