aranya-daemon 0.7.0

Daemon process for syncing with Aranya peers and maintaining the DAG
Documentation
{
    // The name of the daemon, used for logging and debugging
    // purposes.
    "name": "name",


    // The directory where the daemon stores non-essential
    // runtime files and other file objects (sockets, etc.).
    //
    // # Multiple Daemon Support
    //
    // This directory should be unique for each instance of the
    // daemon.
    //
    // # Example
    //
    // For example, this could be `/var/run/aranya`.
    //
    // See also: systemd `RuntimeDirectory=` and
    // `$XDG_RUNTIME_DIR`.
    "runtime_dir": "/var/run/aranya",

    // The directory where the daemon stores non-portable data
    // that should persist between application restarts.
    //
    // # Multiple Daemon Support
    //
    // This directory should be unique for each instance of the
    // daemon.
    //
    // # Example
    //
    // For example, this could be `/var/lib/aranya`.
    //
    // See also: systemd `StateDirectory=` and
    // `$XDG_STATE_HOME`.
    "state_dir": "/var/lib/aranya",

    // The directory where the daemon stores non-essential data
    // files.
    //
    // # Multiple Daemon Support
    //
    // This directory should be unique for each instance of the
    // daemon.
    //
    // # Example
    //
    // For example, this could be `/var/cache/aranya`.
    //
    // See also: systemd `CacheDirectory=` and
    // `$XDG_CACHE_HOME`.
    "cache_dir": "/var/cache/aranya",

    // The directory where the daemon writes log files.
    //
    // # Multiple Daemon Support
    //
    // This directory should be unique for each instance of the
    // daemon.
    //
    // # Example
    //
    // For example, this could be `/var/log/aranya`.
    //
    // See also: systemd `LogsDirectory=`.
    "logs_dir": "/var/log/aranya",

    // The directory where the daemon can find additional
    // configuration files.
    //
    // # Multiple Daemon Support
    //
    // This directory should be unique for each instance of the
    // daemon.
    //
    // # Example
    //
    // For example, this could be `/etc/aranya`.
    //
    // See also: systemd `ConfigDirectory=` and
    // `$XDG_CONFIG_HOME`.
    "config_dir": "/etc/aranya",

    // Aranya sync server address.
    "sync_addr": "0.0.0.0:4321",

    "quic_sync": {},
}