21 releases

Uses new Rust 2024

0.2.13 Dec 11, 2025
0.2.12 Nov 27, 2025
0.2.10 Oct 15, 2025
0.2.6 Jul 31, 2025
0.1.1 Dec 21, 2024

#17 in #file-access

Download history 173/week @ 2025-10-02 364/week @ 2025-10-09 254/week @ 2025-10-16 147/week @ 2025-10-23 277/week @ 2025-10-30 184/week @ 2025-11-06 168/week @ 2025-11-13 134/week @ 2025-11-20 184/week @ 2025-11-27 207/week @ 2025-12-04 291/week @ 2025-12-11 224/week @ 2025-12-18 128/week @ 2025-12-25 147/week @ 2026-01-01 166/week @ 2026-01-08 209/week @ 2026-01-15

672 downloads per month
Used in 23 crates (6 directly)

GPL-3.0 license

340KB
6.5K SLoC

Bootstrap Cache for the Autonomous Network

This crate provides a decentralized peer discovery and caching system for the Autonomi Network. It implements a robust peer management system with the following features:

  • Decentralized Design: No dedicated bootstrap nodes required
  • Cross-Platform Support: Works on Linux, macOS, and Windows
  • Shared Cache: System-wide cache file accessible by both nodes and clients
  • Concurrent Access: File locking for safe multi-process access
  • Atomic Operations: Safe cache updates using atomic file operations
  • Initial Peer Discovery: Fallback web endpoints for new/stale cache scenarios

Bootstrap Cache

A simple peer caching system for the Autonomi Network that provides persistent storage and management of network peer addresses. This crate handles peer discovery and FIFO caching with support for concurrent access across multiple processes.

Features

Storage and Accessibility

  • System-wide accessible cache location
  • Configurable primary cache location
  • Cross-process safe with file locking
  • Atomic write operations to prevent cache corruption

Data Management

  • Automatic cleanup of stale and unreliable peers
  • Configurable maximum peer limit
  • Atomic file operations for data integrity

License

This Autonomi Network software is licensed under the General Public License (GPL), version 3 (LICENSE).

Dependencies

~71–94MB
~1.5M SLoC