#w3c #affinidi #credentials

affinidi-vc

W3C Verifiable Credentials Data Model 1.1 and 2.0 implementation

2 releases

Uses new Rust 2024

new 0.1.1 Apr 18, 2026
0.1.0 Mar 23, 2026

#1188 in Authentication

Apache-2.0

37KB
724 lines

affinidi-vc

Crates.io Documentation Rust License

W3C Verifiable Credentials Data Model implementation supporting both v1.1 and v2.0.

Installation

[dependencies]
affinidi-vc = "0.1"

Features

  • VerifiableCredential type supporting both VCDM 1.1 and 2.0
  • VerifiablePresentation for submitting credentials to verifiers
  • Builder pattern for ergonomic credential construction
  • Proof-format agnostic (works with Data Integrity, JWT, SD-JWT-VC, COSE)
  • JSON-LD context validation
  • Credential status integration point

License

Apache-2.0

Dependencies

~8–12MB
~132K SLoC