diff --git a/Cargo.toml b/Cargo.toml index a61dda79d..0ac81c235 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,6 +39,7 @@ ssi-caips = { path = "./crates/caips", version = "0.2", default-features = false ssi-ucan = { path = "./crates/ucan", version = "0.2", default-features = false } ssi-zcap-ld = { path = "./crates/zcap-ld", version = "0.2", default-features = false } ssi-ssh = { path = "./crates/ssh", version = "0.2", default-features = false } +ssi-status = { path = "./crates/status", version = "0.1", default-features = false } # Verifiable Claims ssi-claims-core = { path = "./crates/claims/core", version = "0.1", default-features = false } @@ -210,6 +211,7 @@ ssi-rdf.workspace = true ssi-json-ld.workspace = true ssi-security.workspace = true ssi-claims.workspace = true +ssi-status.workspace = true ssi-verification-methods.workspace = true ssi-dids.workspace = true ssi-eip712.workspace = true diff --git a/crates/security/src/lib.rs b/crates/security/src/lib.rs index 3802c3b92..b354f9d32 100644 --- a/crates/security/src/lib.rs +++ b/crates/security/src/lib.rs @@ -5,7 +5,7 @@ use static_iref::iri; mod ethereum_adress; pub use ethereum_adress::*; -mod multibase; +pub mod multibase; pub use multibase::{Multibase, MultibaseBuf}; // #[tldr("ssi-vc/src/schema/sec.ttl")] diff --git a/crates/claims/crates/status/Cargo.toml b/crates/status/Cargo.toml similarity index 100% rename from crates/claims/crates/status/Cargo.toml rename to crates/status/Cargo.toml diff --git a/crates/claims/crates/status/examples/README.md b/crates/status/examples/README.md similarity index 100% rename from crates/claims/crates/status/examples/README.md rename to crates/status/examples/README.md diff --git a/crates/claims/crates/status/examples/files/local-status-list-credential.jsonld b/crates/status/examples/files/local-status-list-credential.jsonld similarity index 100% rename from crates/claims/crates/status/examples/files/local-status-list-credential.jsonld rename to crates/status/examples/files/local-status-list-credential.jsonld diff --git a/crates/claims/crates/status/examples/files/public-key.jwk b/crates/status/examples/files/public-key.jwk similarity index 100% rename from crates/claims/crates/status/examples/files/public-key.jwk rename to crates/status/examples/files/public-key.jwk diff --git a/crates/claims/crates/status/examples/files/secret-key.jwk b/crates/status/examples/files/secret-key.jwk similarity index 100% rename from crates/claims/crates/status/examples/files/secret-key.jwk rename to crates/status/examples/files/secret-key.jwk diff --git a/crates/claims/crates/status/examples/files/status-list-credential.jsonld b/crates/status/examples/files/status-list-credential.jsonld similarity index 100% rename from crates/claims/crates/status/examples/files/status-list-credential.jsonld rename to crates/status/examples/files/status-list-credential.jsonld diff --git a/crates/claims/crates/status/examples/files/status-list.jws b/crates/status/examples/files/status-list.jws similarity index 100% rename from crates/claims/crates/status/examples/files/status-list.jws rename to crates/status/examples/files/status-list.jws diff --git a/crates/claims/crates/status/examples/files/status_list_revocable_1.jsonld b/crates/status/examples/files/status_list_revocable_1.jsonld similarity index 100% rename from crates/claims/crates/status/examples/files/status_list_revocable_1.jsonld rename to crates/status/examples/files/status_list_revocable_1.jsonld diff --git a/crates/claims/crates/status/examples/files/status_list_revocable_3.jsonld b/crates/status/examples/files/status_list_revocable_3.jsonld similarity index 100% rename from crates/claims/crates/status/examples/files/status_list_revocable_3.jsonld rename to crates/status/examples/files/status_list_revocable_3.jsonld diff --git a/crates/claims/crates/status/examples/status_list.rs b/crates/status/examples/status_list.rs similarity index 100% rename from crates/claims/crates/status/examples/status_list.rs rename to crates/status/examples/status_list.rs diff --git a/crates/claims/crates/status/examples/status_list_client.rs b/crates/status/examples/status_list_client.rs similarity index 100% rename from crates/claims/crates/status/examples/status_list_client.rs rename to crates/status/examples/status_list_client.rs diff --git a/crates/claims/crates/status/examples/status_list_server.rs b/crates/status/examples/status_list_server.rs similarity index 100% rename from crates/claims/crates/status/examples/status_list_server.rs rename to crates/status/examples/status_list_server.rs diff --git a/crates/claims/crates/status/src/client/cache.rs b/crates/status/src/client/cache.rs similarity index 100% rename from crates/claims/crates/status/src/client/cache.rs rename to crates/status/src/client/cache.rs diff --git a/crates/claims/crates/status/src/client/http.rs b/crates/status/src/client/http.rs similarity index 100% rename from crates/claims/crates/status/src/client/http.rs rename to crates/status/src/client/http.rs diff --git a/crates/claims/crates/status/src/client/mod.rs b/crates/status/src/client/mod.rs similarity index 100% rename from crates/claims/crates/status/src/client/mod.rs rename to crates/status/src/client/mod.rs diff --git a/crates/claims/crates/status/src/impl/any.rs b/crates/status/src/impl/any.rs similarity index 100% rename from crates/claims/crates/status/src/impl/any.rs rename to crates/status/src/impl/any.rs diff --git a/crates/claims/crates/status/src/impl/bitstream_status_list/mod.rs b/crates/status/src/impl/bitstream_status_list/mod.rs similarity index 100% rename from crates/claims/crates/status/src/impl/bitstream_status_list/mod.rs rename to crates/status/src/impl/bitstream_status_list/mod.rs diff --git a/crates/claims/crates/status/src/impl/bitstream_status_list/syntax/entry_set/credential.rs b/crates/status/src/impl/bitstream_status_list/syntax/entry_set/credential.rs similarity index 100% rename from crates/claims/crates/status/src/impl/bitstream_status_list/syntax/entry_set/credential.rs rename to crates/status/src/impl/bitstream_status_list/syntax/entry_set/credential.rs diff --git a/crates/claims/crates/status/src/impl/bitstream_status_list/syntax/entry_set/mod.rs b/crates/status/src/impl/bitstream_status_list/syntax/entry_set/mod.rs similarity index 100% rename from crates/claims/crates/status/src/impl/bitstream_status_list/syntax/entry_set/mod.rs rename to crates/status/src/impl/bitstream_status_list/syntax/entry_set/mod.rs diff --git a/crates/claims/crates/status/src/impl/bitstream_status_list/syntax/mod.rs b/crates/status/src/impl/bitstream_status_list/syntax/mod.rs similarity index 100% rename from crates/claims/crates/status/src/impl/bitstream_status_list/syntax/mod.rs rename to crates/status/src/impl/bitstream_status_list/syntax/mod.rs diff --git a/crates/claims/crates/status/src/impl/bitstream_status_list/syntax/status_list/credential.rs b/crates/status/src/impl/bitstream_status_list/syntax/status_list/credential.rs similarity index 100% rename from crates/claims/crates/status/src/impl/bitstream_status_list/syntax/status_list/credential.rs rename to crates/status/src/impl/bitstream_status_list/syntax/status_list/credential.rs diff --git a/crates/claims/crates/status/src/impl/bitstream_status_list/syntax/status_list/mod.rs b/crates/status/src/impl/bitstream_status_list/syntax/status_list/mod.rs similarity index 100% rename from crates/claims/crates/status/src/impl/bitstream_status_list/syntax/status_list/mod.rs rename to crates/status/src/impl/bitstream_status_list/syntax/status_list/mod.rs diff --git a/crates/claims/crates/status/src/impl/mod.rs b/crates/status/src/impl/mod.rs similarity index 100% rename from crates/claims/crates/status/src/impl/mod.rs rename to crates/status/src/impl/mod.rs diff --git a/crates/claims/crates/status/src/impl/token_status_list/cbor.rs b/crates/status/src/impl/token_status_list/cbor.rs similarity index 100% rename from crates/claims/crates/status/src/impl/token_status_list/cbor.rs rename to crates/status/src/impl/token_status_list/cbor.rs diff --git a/crates/claims/crates/status/src/impl/token_status_list/json.rs b/crates/status/src/impl/token_status_list/json.rs similarity index 100% rename from crates/claims/crates/status/src/impl/token_status_list/json.rs rename to crates/status/src/impl/token_status_list/json.rs diff --git a/crates/claims/crates/status/src/impl/token_status_list/mod.rs b/crates/status/src/impl/token_status_list/mod.rs similarity index 100% rename from crates/claims/crates/status/src/impl/token_status_list/mod.rs rename to crates/status/src/impl/token_status_list/mod.rs diff --git a/crates/claims/crates/status/src/lib.rs b/crates/status/src/lib.rs similarity index 100% rename from crates/claims/crates/status/src/lib.rs rename to crates/status/src/lib.rs diff --git a/src/lib.rs b/src/lib.rs index 6c5a34a89..5e5ef3131 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -275,6 +275,9 @@ pub use ssi_security as security; #[doc(inline)] pub use ssi_claims as claims; +/// Claims status. +pub use ssi_status as status; + /// Default verification parameters type. /// /// This type can be used as parameters of the