use DIDCacheError;
use ;
use Parser;
/// Affinidi DID Resolver Cache Server.
///
/// Run with `--config <path>` (or `-c <path>`) to point the server at a
/// config file outside the current working directory — useful when the
/// binary is installed in `/usr/local/bin` but the config lives in
/// `/etc/affinidi/cache-conf.toml` (or anywhere else).
async