24 releases (8 stable)
1.4.0 | Sep 23, 2024 |
---|---|
1.3.1 | Jun 12, 2024 |
1.3.0 | May 28, 2024 |
1.2.0 | Mar 27, 2024 |
0.1.0 | Aug 12, 2020 |
#208 in Authentication
493 downloads per month
Used in 16 crates
(13 directly)
89KB
2K
SLoC
IOTA Identity - Core
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.
Common Data Types
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.- Collections:
OneOrMany
,OneOrSet
, andOrderedSet
.
The above types are located in the common
module.
Convenient JSON Serialization
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.
Base Encoding Utilities
BaseEncoding
provides methods to encode and decode binary text with respect to several bases.
Dependencies
~3.5–5MB
~88K SLoC