12 releases (3 major breaking)

3.0.0 Oct 1, 2025
2.0.0 Aug 20, 2025
1.0.0 Jul 10, 2025
0.7.0 Jun 27, 2025
0.2.0 Nov 12, 2024

#521 in Caching

Download history 146/week @ 2025-07-09 9/week @ 2025-07-16 5/week @ 2025-07-23 76/week @ 2025-07-30 33/week @ 2025-08-06 115/week @ 2025-08-13 160/week @ 2025-08-20 2/week @ 2025-08-27 3/week @ 2025-09-03 137/week @ 2025-10-01 11/week @ 2025-10-08 7/week @ 2025-10-15 1/week @ 2025-10-22

156 downloads per month

AGPL-3.0-only

340KB
8K SLoC

Aranya Daemon

Crates.io License

Overview

The Aranya Daemon is a long-running executable that is used to maintain the state of Aranya after adding commands to the graph or syncing commands from other peers by interacting directly with the Aranya Core library. See here for details on the Aranya functionality available through the daemon.

The daemon's responsibilities include:

  • Periodically syncing state between networked Aranya peers to ensure they all have consistent state. This includes the ability to add and remove sync peers, available to your application through the Rust Client library.
  • Invokes actions received from the client and handles effects from the Aranya Core library. See the walkthrough for more details.
  • Generates and maintains cryptographic keys for encrypting and decrypting data for Aranya and Fast Channels

Note: The Aranya Daemon supports a single device.

Configuration

Create a config file for the daemon before running it. Refer to this documentation on the TOML config file parameters: config.

An example daemon configuration file can be found here.

Running the daemon

Build and run the daemon crate:

$ cargo build --bin aranya-daemon --release
$ ./target/release/aranya-daemon <path to config>

Dependencies

~126MB
~3M SLoC