Crate atproto_identity

Source
Expand description

§atproto-identity

A comprehensive Rust library for AT Protocol identity management providing DID resolution, handle resolution, and identity document management across multiple DID methods.

§Core Modules

  • resolve - Core resolution logic for handles and DIDs with DNS/HTTP resolution
  • plc - PLC directory client for did:plc resolution
  • web - Web DID client for did:web resolution and URL conversion
  • model - Data structures for DID documents and AT Protocol entities
  • validation - Input validation for handles and DIDs
  • config - Configuration management and environment variable handling
  • errors - Structured error types following project conventions
  • key - Cryptographic key operations for P-256 and K-256 curves
  • storage - DID document storage abstraction for CRUD operations
  • storage_lru - LRU-based implementation of DID document storage (requires lru feature)

§Usage

This library supports both programmatic usage and CLI tooling for identity resolution across the AT Protocol ecosystem.

Modules§

axum
Axum web framework integration for AT Protocol identity management.
config
Configuration management for AT Protocol identity operations.
errors
Structured Error Types
key
Cryptographic key operations for AT Protocol identity management.
model
Data structures for DID documents and AT Protocol entities.
plc
PLC Directory Client
resolve
Core Resolution Logic
storage
DID document storage abstraction for AT Protocol identity management.
storage_lru
LRU-based implementation of the DidDocumentStorage trait.
validation
Input validation for AT Protocol handles and DIDs.
web
Web DID Client