atproto_identity/lib.rs
1//! AT Protocol identity management for DID resolution, handle resolution, and cryptographic operations.
2//!
3//! This crate provides core identity functionality for AT Protocol applications including multi-method
4//! DID resolution (plc, web, key), DNS/HTTP handle resolution, and P-256/P-384/K-256 key operations.
5//!
6//! When built with the `clap` feature, provides comprehensive CLI tools:
7//!
8//! - **`atproto-identity-resolve`**: Resolve AT Protocol handles and DIDs to canonical identifiers
9//! - **`atproto-identity-key`**: Generate and manage cryptographic keys (P-256, P-384, K-256)
10//! - **`atproto-identity-sign`**: Create cryptographic signatures of JSON data
11//! - **`atproto-identity-validate`**: Validate cryptographic signatures
12
13#![forbid(unsafe_code)]
14#![warn(missing_docs)]
15
16pub mod config;
17pub mod errors;
18pub mod key;
19pub mod model;
20pub mod plc;
21pub mod resolve;
22pub mod storage;
23#[cfg(feature = "lru")]
24pub mod storage_lru;
25pub mod url;
26pub mod validation;
27pub mod web;