Crates.io | identity_core |
lib.rs | identity_core |
version | 1.4.0 |
source | src |
created_at | 2020-08-12 19:37:43.487437 |
updated_at | 2024-09-23 08:43:30.219257 |
description | The core traits and types for the identity-rs library. |
homepage | https://www.iota.org |
repository | https://github.com/iotaledger/identity.rs |
max_upload_size | |
id | 275935 |
size | 89,267 |
The core types and utilities for IOTA identity.
The types and traits exposed by this crate are mainly intended to be used by the other crates constituting the IOTA Identity Framework.
This crate exposes some fundamental data types used across the IOTA Identity Framework:
Context
: represents JSON-LD contexts.Timestamp
: an RFC3339 compliant timestamp.Url
: a URL string.OneOrMany
, OneOrSet
, and OrderedSet
.The above types are located in the common
module.
The ToJson
and FromJson
traits from this crate provide convenience functions to convert most types from the IOTA Identity Framework to and from a few common JSON representations.
BaseEncoding
provides methods to encode and decode binary text with respect to several bases.