32 releases (5 breaking)
Uses new Rust 2024
| new 0.6.3 | Mar 26, 2026 |
|---|---|
| 0.5.1 | Mar 2, 2026 |
| 0.3.0 | Dec 18, 2025 |
| 0.2.7 | Nov 9, 2025 |
| 0.1.7 | Mar 27, 2025 |
#1484 in Authentication
1,087 downloads per month
Used in 4 crates
1MB
16K
SLoC
affinidi-tdk
The unified entry point for the Affinidi Trust Development Kit. Depend on this single crate and enable feature flags to pull in only the libraries you need.
Disclaimer: This project is provided "as is" without warranties or guarantees. Users assume all risks associated with its deployment and use.
Installation
[dependencies]
affinidi-tdk = "0.6"
Feature Flags
| Feature | Default | Description |
|---|---|---|
messaging |
Yes | Affinidi Messaging SDK |
meeting-place |
Yes | Affinidi Meeting Place SDK |
did-peer |
Yes | Peer DID method support |
data-integrity |
Yes | W3C Data Integrity proof support |
Disable defaults with default-features = false in your Cargo.toml or
--no-default-features on the command line, then enable only what you need:
[dependencies]
affinidi-tdk = { version = "0.5", default-features = false, features = ["data-integrity"] }
Re-exported Crates
This crate re-exports the following libraries:
affinidi-did-resolver-cache-sdk— DID resolution and cachingaffinidi-did-common— DID Document typesaffinidi-messaging-didcomm— DIDComm protocolaffinidi-messaging-sdk— Messaging SDK (feature:messaging)affinidi-meeting-place— Meeting Place SDK (feature:meeting-place)affinidi-data-integrity— Data Integrity proofs (feature:data-integrity)affinidi-did-authentication— DID authenticationaffinidi-tdk-common— Shared utilitiesaffinidi-secrets-resolver— Secret managementaffinidi-crypto— Cryptographic primitives
Related Crates
affinidi-messaging— Full messaging frameworkaffinidi-did-resolver— DID resolution
License
Dependencies
~133MB
~3M SLoC