Skip to main content

Crate did_hosting_server

Crate did_hosting_server 

Source
Expand description

DID Hosting Server — read-only DID-resolver edge node.

§Stability

Every module below is pub because did-hosting-daemon (and did-hosting-server’s own binary) consume them as if this crate were an internal library. Treat the public surface as unstable while the workspace is pre-1.0: breaking changes can land in any minor version. Pin internal deps with a major.minor constraint (= "0.6") so a 0.7 cycle that narrows the API doesn’t surprise you. The thin, semver-stable consumer-facing surface lives in did-hosting-common (DID types, request/response shapes, shared auth primitives).

Modules§

acl
auth
backup
bootstrap
Server DID bootstrap — creates DID log entries for hosted DIDs.
cache
Simple in-memory content cache with TTL-based eviction.
config
control_register
Control plane registration — announces this server to the control plane via DIDComm through the shared mediator connection.
did_ops
Transport-independent DID management business logic.
error
health
Health check diagnostic for did-hosting-server health.
identity_rotation
Rotation of the server’s own DID identity.
messaging
DIDComm sync handlers for the DID Hosting server edge node.
mnemonic
purge_sweep
Background grace-expired purge sweep (T30 pass 3).
routes
secret_store
server
setup
setup_recipe
Non-interactive setup driven by a SetupRecipe TOML file.
stats
Stats collection and sync to control plane.
store
trust_tasks_infra
Server-side infrastructure trust tasks: health ping, register ack.
tsp
TSP receive path for did-hosting-server.
watcher_push
Fire-and-forget push of DID state changes to registered watcher instances.