add hyper-011 cargo feature to ease migration

This commit is contained in:
Sean McArthur
2018-08-15 16:47:02 -07:00
parent 73a15ba13b
commit e182c416c9
5 changed files with 62 additions and 1 deletions

View File

@@ -131,6 +131,8 @@ extern crate encoding_rs;
extern crate futures;
extern crate http;
extern crate hyper;
#[cfg(feature = "hyper-011")]
pub extern crate hyper_old_types as hyper_011;
extern crate hyper_tls;
#[macro_use]
extern crate log;