utls 0.12.10

A simple utilities library for stuff I actually use sometimes, with a large focus on convenience and lack of dependencies.
Documentation
//! Somewhat useless traits

/// Declaration of traits
pub mod decl {
    /// A trait for values which can be empty, providing a constant for that empty representation
    pub trait Empty<T> {
        /// The constant representing the empty value
        const EMPTY: T;
    }
}
/// Implementations of traits declared in `decl` for external types
pub mod imple {
    use super::decl::*;

    impl Empty<&str> for &str {
        const EMPTY: &'static str = "";
    }

    impl Empty<String> for String {
        const EMPTY: String = String::new();
    }

    impl<T> Empty<Option<T>> for Option<T>
    {
        const EMPTY: Option<T> = None;
    }
}