ferogram.dev / ferogram-session
SS

ferogram-session

Session persistence types and pluggable storage backends for ferogram.

Rust v0.6.5 MIT OR Apache-2.0
Cargo.toml
[dependencies]
ferogram-session = "0.6.5"

What it does

  • DC address table with per-DC auth keys, salts, and capability flags
  • MTProto update counters: pts, qts, seq, date, and per-channel pts
  • Peer access-hash cache for users, channels, groups, and communities
  • Backends: BinaryFileBackend, InMemoryBackend, StringSessionBackend, SqliteBackend, LibSqlBackend
  • Versioned binary format with atomic saves (write to .tmp, then rename)
  • Bring your own backend by implementing SessionBackend
Explore the workspace