Skip to main content

Module registry

Module registry 

Source

Re-exports§

pub use lifecycle::parse_lifecycle_request;
pub use log::MerkleLog;
pub use rate_limit::NoopRateLimiter;
pub use rate_limit::RateLimiter;
pub use server::RegistryServer;
pub use store::IdempotencyRecord;
pub use store::InMemoryStore;
pub use store::LifecycleCommitOutcome;
pub use store::RegistryStore;
pub use validator::assign_identifiers;
pub use validator::PublishValidator;
pub use validator::ValidatedPublish;

Modules§

lifecycle
Lifecycle endpoint request validation (ACDP 0.3, RFC-ACDP-0013 §6 step 2) — the envelope layer for POST /contexts/{ctx_id}/retract and POST /contexts/{ctx_id}/republish.
log
Reference in-memory transparency log (RFC-ACDP-0012) — an append-only RFC 6962-style Merkle tree over publish-event leaves.
rate_limit
Rate-limiting hook for RegistryServer (RFC-ACDP-0008 §4.3).
safe_http
Server-side re-exports of the shared SSRF defense primitives.
server
Logical registry handler (feature = “server”).
store
Registry persistence abstraction (feature = “server”).
validator
Server-side publish validation pipeline — RFC-ACDP-0003 §2.1 (feature = “server”).

Structs§

SsrfPolicy
SSRF policy applied to outbound HTTP requests.

Constants§

MAX_CONTEXT_BYTES
Maximum body bytes for a context retrieval (RFC-ACDP-0006 §7.3).
MAX_METADATA_BYTES
Maximum body bytes for capabilities or DID documents (§7.3).
MAX_REDIRECTS
Maximum HTTP redirects to follow (§7.5).