herolib-sid 0.1.0

SmartID - Short, human-readable, collision-free identifiers
Documentation
  • Coverage
  • 90.91%
    30 out of 33 items documented4 out of 6 items with examples
  • Size
  • Source code size: 28.72 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 4.15 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 25s Average build duration of successful builds.
  • all releases: 25s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • despiegk

SmartID (SID) - Distributed, Human-Readable Identifiers

SmartID provides short, human-readable identifiers for distributed systems. This module is used internally by the Context module for ID generation.

Design Targets

  • Human-friendly (chat, voice, memory)
  • Deterministic & auditable
  • Collision-free
  • Offline-capable
  • Scalable (up to 999 contributors)

Alphabet

Base-36: 0123456789abcdefghijklmnopqrstuvwxyz

Formula

global_id = local_counter * num_contributors + contributor_id + 1