Crate identity_core

source ·
Expand description

§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:

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.

Re-exports§

  • pub use self::error::Error;
  • pub use self::error::Result;

Modules§

  • Definitions of common types (Url, Timestamp, JSON types, etc).
  • Functionality for JSON conversion and Base de- and encoding.
  • Errors that may occur in the identity core crate.

Macros§

  • Construct a serde_json::Value from a JSON literal.