Skip to main content

Crate mold_server

Crate mold_server 

Source

Modules§

auth
catalog_api
Catalog REST surface. Live HF + Civitai proxy with a 5-min in-process cache; the bulk-scrape DB and scanner are gone.
chain_limits
Chain-limits computation for the /api/capabilities/chain-limits route.
downloads
Single-writer download queue wrapping mold_core::download::pull_model_with_callback.
gpu_pool
gpu_worker
job_registry
Server-side ledger of in-flight generation jobs.
logging
model_cache
model_manager
queue
rate_limit
request_id
resources
Always-on VRAM + system-RAM telemetry aggregator.
routes
routes_chain
Server-side chained video generation endpoints.
state
test_support
Lightweight in-process test client for catalog route integration tests. Avoids the full hyper boot — uses tower::ServiceExt::oneshot directly.
web_ui
Static web UI serving.

Functions§

run_server