refactor(lib): remove build script features since minimum version is higher
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
#[macro_export]
|
||||
#[cfg(__hyper_impl_trait_available)]
|
||||
macro_rules! impl_trait {
|
||||
(ty: $($t:tt)+) => {
|
||||
impl $($t)+
|
||||
};
|
||||
(e: $e:expr) => {
|
||||
$e
|
||||
}
|
||||
}
|
||||
|
||||
#[macro_export]
|
||||
#[cfg(not(__hyper_impl_trait_available))]
|
||||
macro_rules! impl_trait {
|
||||
(ty: $($t:tt)+) => {
|
||||
Box<$($t)+>
|
||||
};
|
||||
(e: $e:expr) => {
|
||||
Box::new($e)
|
||||
}
|
||||
}
|
||||
@@ -3,8 +3,6 @@ pub(crate) mod drain;
|
||||
mod exec;
|
||||
pub(crate) mod io;
|
||||
mod lazy;
|
||||
#[macro_use]
|
||||
mod macros;
|
||||
mod never;
|
||||
|
||||
pub(crate) use self::buf::StaticBuf;
|
||||
|
||||
Reference in New Issue
Block a user