-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-export everything through identity crate
- Loading branch information
Showing
14 changed files
with
120 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,7 @@ jobs: | |
matrix: | ||
project: | ||
[ | ||
identity, | ||
identity-core, | ||
identity-credential, | ||
identity-did, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,7 @@ jobs: | |
matrix: | ||
project: | ||
[ | ||
identity, | ||
identity-core, | ||
identity-credential, | ||
identity-did, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,7 @@ jobs: | |
matrix: | ||
project: | ||
[ | ||
identity, | ||
identity-core, | ||
identity-credential, | ||
identity-did, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
[workspace] | ||
members = [ | ||
"identity", | ||
"identity-core", | ||
"identity-credential", | ||
"identity-did", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[package] | ||
name = "identity" | ||
version = "0.1.0" | ||
authors = ["IOTA Identity"] | ||
edition = "2018" | ||
description = "Tools for working with Self-sovereign Identity." | ||
readme = "../README.md" | ||
repository = "https://github.com/iotaledger/identity.rs" | ||
license = "Apache-2.0" | ||
keywords = ["iota", "tangle", "identity"] | ||
homepage = "https://www.iota.org" | ||
|
||
[dependencies] | ||
identity-core = { version = "=0.1.0", path = "../identity-core" } | ||
identity-credential = { version = "=0.1.0", path = "../identity-credential" } | ||
identity-did = { version = "=0.1.0", path = "../identity-did" } | ||
identity-iota = { version = "=0.1.0", path = "../identity-iota" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
// Copyright 2020-2021 IOTA Stiftung | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
pub mod core { | ||
pub use identity_core::common::*; | ||
pub use identity_core::convert::*; | ||
pub use identity_core::error::*; | ||
pub use identity_core::utils::*; | ||
|
||
#[doc(inline)] | ||
pub use identity_core::diff; | ||
|
||
#[doc(inline)] | ||
pub use identity_core::json; | ||
} | ||
|
||
pub mod crypto { | ||
pub use identity_core::crypto::*; | ||
} | ||
|
||
pub mod credential { | ||
pub use identity_credential::credential::*; | ||
pub use identity_credential::error::*; | ||
pub use identity_credential::presentation::*; | ||
} | ||
|
||
pub mod did { | ||
pub use identity_did::document::*; | ||
pub use identity_did::error::*; | ||
pub use identity_did::service::*; | ||
pub use identity_did::utils::*; | ||
pub use identity_did::verification::*; | ||
|
||
pub use identity_did::did::did; | ||
pub use identity_did::did::Error as DIDError; | ||
pub use identity_did::did::DID; | ||
|
||
pub use identity_did::resolution; | ||
pub use identity_did::verifiable; | ||
} | ||
|
||
pub mod iota { | ||
pub use identity_iota::chain::*; | ||
pub use identity_iota::client::*; | ||
pub use identity_iota::credential::*; | ||
pub use identity_iota::did::*; | ||
pub use identity_iota::error::*; | ||
pub use identity_iota::tangle::*; | ||
pub use identity_iota::utils::*; | ||
} |