hashmap_entry_ownable/lib.rs
1#![cfg_attr(feature = "nightly", feature(hash_raw_entry))]
2#![cfg_attr(feature = "nightly", feature(test))]
3
4/*
5Yes, the following mods are copy-pasted.
6There is no common crate that we can depend on. We can write one for ourselves with thin-wrapping `impl`, but is it worth it?
7And don't even tell me about macros. I've been here, it falls apart when there's need to `impl` for both `Foo<A, B>` and `Bar<A, B, C>` (note the extra type argument).
8*/
9
10#[cfg(feature = "nightly")]
11pub mod std_hash;
12#[cfg(feature = "hashbrown")]
13pub mod hashbrown;