identity_iota_core 0.7.0-alpha.4

An IOTA Ledger integration for the IOTA DID Method.
Documentation
// Copyright 2020-2022 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0

#![forbid(unsafe_code)]
#![allow(clippy::upper_case_acronyms)]

#[cfg(feature = "iota-client")]
pub use iota_client::block;
// Re-export the `iota_types::block` module for implementer convenience.
#[cfg(all(feature = "client", not(feature = "iota-client")))]
pub use iota_types::block;

#[cfg(feature = "client")]
pub use client::*;
pub use did::IotaDID;
pub use did::IotaDIDUrl;
pub use document::*;
pub use network::NetworkName;
pub use state_metadata::*;

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

#[cfg(feature = "client")]
mod client;
mod did;
mod document;
mod error;
mod network;
mod state_metadata;