Candidate crates
Each candidate crate has one reason to exist and a visible boundary. The separation is designed for low coupling, high cohesion, minimal feature cones, and independent future evolution.
Crypto foundation train
| Crate | Kind | Runtime dependency direction |
|---|---|---|
identus-derive | Procedural macro | Build-time only |
identus-core | Foundation values and ports | Depends on identus-derive and Serde |
identus-crypto | Cryptographic primitives | Depends on identus-core and identus-derive; algorithms are feature-gated |
The release train is not a layered facade where consumers must always import all three. A consumer normally selects the highest-level crate it needs; Cargo resolves its exact internal closure.
DID candidate train
| Crate | Kind | Runtime dependency direction |
|---|---|---|
identus-did | Generic DID domain and ports | Depends on released identus-core; uses identus-derive at build time |
identus-did-resolver-http | Optional Axum HTTP adapter | Depends on identus-did, released identus-core, and host HTTP libraries |
These two packages are candidate-only and source-evaluated. They are not
available from crates.io merely because a staged 0.1.0-rc.1 archive and
public-API origin exist. See the DID candidate review.
Portable DID methods
| Crate | Kind | Runtime dependency direction |
|---|---|---|
identus-did-key | Strict effect-free did:key profile | Depends on generic DID/crypto foundations; opt-in registry composition |
identus-did-jwk | Bounded effect-free did:jwk profile | Depends on generic DID/crypto/JSON foundations; opt-in registry composition |
These packages are unpublished experimental source components. Their frozen profiles, bounds, redacted errors, conformance packets, fuzzing, benchmarks, and registry E2E routes are reviewed independently from the generic DID candidate train.
Portable PRISM stack
| Crate | Kind | Runtime dependency direction |
|---|---|---|
identus-prism-did | PRISM method semantics | Depends on generic DID/crypto foundations |
identus-prism-vdr | PRISM VDR semantics | Depends on identus-prism-did |
identus-prism-indexer | Ordered atomic indexing core | Depends on identus-prism-vdr |
These are unpublished experimental source packages, not part of either activated release train. See the portable-stack walkthrough for effect boundaries, executable evidence, and downstream adoption status.
Selective-disclosure credential semantics
| Crate | Kind | Runtime dependency direction |
|---|---|---|
identus-sd-jwt | RFC 9901 mechanics | Depends on JOSE and generic credential/presentation vocabulary |
identus-sd-jwt-vc | Canonical draft-22 VC profile | Depends on the RFC engine and generic credential vocabulary |
Both crates are unpublished experimental source components. Protocol crates are dev/test dependencies of the profile, not production foundations.