Skip to main content

Crate armour_core

Crate armour_core 

Source

Re-exports§

pub use error::ArmourError;
pub use fuid::Fuid;
pub use fuid::OptFuid;
pub use get_type::GetType;
pub use id64::Id64;
pub use id64::OptId64;
pub use key_type::KeyScheme;
pub use key_type::KeyType;
pub use typ::EnumType;
pub use typ::Fields;
pub use typ::SimpleEnumType;
pub use typ::StructType;
pub use typ::Typ;

Modules§

dyn_types
Compatibility module for armour-derive generated code paths.
enc
error
fuid
get_type
id64
key_part
key_type
num_ops
persist
record_status
typ
zbase

Macros§

const_hasher
key should be Base64Url decoded 56 bytes long (~ 75 chars)
const_hasher_or
Like const_hasher!, but in debug builds falls back to $default if the env var is not set.
hasher
key should be Base64Url decoded 56 bytes long (~ 75 chars)

Constants§

ID_ENC_FLAG

Type Aliases§

IdStr
Result

Attribute Macros§

armour_metrics
Adds metrics tracking to the function.

Derive Macros§

GetType
#[get_type(idx = 1)] in fields#[get_type(flatten)] for unnamed structs#[get_type(with_type(Type))] for named struct fields#[get_type(unimplemented)] for named struct fields#[get_type(custom("name", &[Typ::Bool, Typ::Str]))] for named struct fields