string-interner 0.12.2

Efficient string interner with minimal memory footprint and fast access to the underlying strings.
Documentation
//! Compatibility layer for `no_std` compilations.

use cfg_if::cfg_if;

pub use ::hashbrown::{
    hash_map,
    hash_map::{
        DefaultHashBuilder,
        HashMap,
    },
};

cfg_if! {
    if #[cfg(feature = "std")] {
        pub use ::std::{
            vec,
            vec::Vec,
            string::{String, ToString},
            boxed::Box,
        };
    } else {
        extern crate alloc;
        pub use self::alloc::{
            vec,
            vec::Vec,
            string::{String, ToString},
            boxed::Box,
        };
    }
}