syncless

Crates.iosyncless
lib.rssyncless
version0.2.0
created_at2025-12-20 03:23:24.272735+00
updated_at2025-12-27 04:48:17.567962+00
descriptionordered, atomic storage without durability guarantees
homepage
repositoryhttps://github.com/rustyrussell/syncless
max_upload_size
id1995955
size41,254
Rusty Russell (rustyrussell)

documentation

https://docs.rs/syncless

README

syncless: Ordered, atomic storage without durability guarantees.

syncless provides crash-safe, append-style storage where:

  • individual writes are atomic
  • writes are observed in order
  • previously visible data is never corrupted
  • fsync is rarely used (only on creation, and when file gets too large)

Recent writes may be lost on OS crash or power failure.

When to use this

Use syncless when:

  • durability is not required
  • corruption is unacceptable
  • synchronous fsync is too expensive

Examples: browser history, bookmarks, caches, indexes.

When not to use this

Do not use syncless when you need:

  • durability guarantees
  • multi-writer isolation
  • cross-process coordination

Try sqlite3 for that.

Documentation

Full API documentation: https://docs.rs/syncless

Commit count: 0

cargo fmt