Removes atomic dependency
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-07-01 18:44:09 +02:00
parent 37f0cf8c35
commit cfabd7c790
5 changed files with 28 additions and 17 deletions

View File

@@ -1,10 +1,11 @@
use atomig::Atom;
use hashbrown::HashMap;
use crate::StringKey;
/// A unique key that can be used to store a reference to a type. Opaque reference to a byte
/// internally.
#[derive(Debug, Copy, Clone, Eq, PartialEq, Default, Hash)]
#[derive(Debug, Copy, Clone, Eq, PartialEq, Default, Hash, Atom)]
pub struct TypeIdentifier {
/// The unique internal value.
val: u8,