Skip to main content

Module registry

Module registry 

Source

Re-exports§

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::RegistryStore;
pub use validator::assign_identifiers;
pub use validator::PublishValidator;
pub use validator::ValidatedPublish;

Modules§

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).