desaturate 0.0.2

This package aims to makes it easier to maintain a single code base for both regular and async functions.
Documentation
macro_rules! features {
    (: $($rest:tt)+) => {
        $($rest)+
    };
    (async $($rest:tt)+) => {
        #[cfg(feature = "generate-async")]
        features!{ $($rest)+ }
    };
    (!async $($rest:tt)+) => {
        #[cfg(not(feature = "generate-async"))]
        features!{ $($rest)+ }
    };
    (fn $($rest:tt)+) => {
        #[cfg(feature = "generate-blocking")]
        features!{ $($rest)+ }
    };
    (!fn $($rest:tt)+) => {
        #[cfg(not(feature = "generate-blocking"))]
        features!{ $($rest)+ }
    };
}

macro_rules! create_asyncable {
    ($T:ident => $($($traits:tt)+)?) => {
        /// This trait is dynamic based on feature flags. For this reason, it's not allowed to be
        /// directly implemented, as this would break the [additive features
        /// guideline](https://doc.rust-lang.org/cargo/reference/features.html#feature-unification).
        ///
        /// When the flag `generate-async` is set, this trait implements [`IntoFuture`].
        ///
        /// When the flag `generate-blocking` is set, this trait implements [`Blocking`].
        ///
        /// Note that the [`into_future()`] (which is implicitly called when you use `.await`) and
        /// [`call()`] functions both consume this value, and the arguments. For this reason, your
        /// arguments can include owned variables, as they can only be consumed once.
        ///
        /// [`IntoFuture`]: core::future::IntoFuture
        /// [`into_future()`]: core::future::IntoFuture::into_future
        /// [`call()`]: Blocking::call
        pub trait Desaturated<$T>: $($($traits)+ +)? internal::OnlyAutomatic<$T> {}
        $(
            impl<$T, U: $($traits)+> Desaturated<$T> for U {}
            impl<$T, U: $($traits)+> internal::OnlyAutomatic<$T> for U {}
        )?
    };
}

pub(crate) use {create_asyncable, features};