1. Only showing results from lib.rs

    Clear filter to show all search results

  2. Unique ID Generator. Unique 64 bit ID generator inspired by twitter snowflake. By default, settings are: Machine ID - 8 bit (up to 255 machines) Timestamp subset - 41 bits ~69 years since Unix Epoch; Remaining bits (15) - sequence number; If sequence number is overflowing, generator will wait in chunks of 100 microseconds until next millisecond.
  3. 4,121 downloads per month . MIT license . 43KB 859 lines. IdGenerator. A powerful unique id generator. ATTENTION: Now this crate has upgraded to v2, meaning most of the interfaces in v1 is deprecated. If you still want to use v1, please see branch v1.You can also see deprecated.md for how to use v1.. Shorter ID and faster generation with a new snowflake drift algorithm.
  4. Crate unique_id. A trait and implementations for unique ID generators. This crate provides four simple traits, starting with Generator. This will return successive unique identifiers, the only requirement of an identifier being that it implements PartialEq. Each implemented generator is in its own feature, by default all of which are included.
  5. 5 days ago72 downloads per month . MIT license . 120KB 2K SLoC tagid - Typed Unique Identifiers for Rust Entities. tagid provides a robust system for defining and managing typed unique identifiers in Rust. It supports multiple ID generation strategies (CUID, UUID, Snowflake) and integrates seamlessly with serde, sqlx, and other frameworks.. Features. Typed Identifiers: Define entity-specific IDs with ...
  6. 4 days agoEach IdP is assigned a unique idp_id to provide a globally unique Subject that identifies a user. Custom Authenticators can easily be added by implementing the Authenticator trait. Why the Name? "Limes" is the ancient Roman wall that fortified the ROman Empire. Just like those mighty walls, our Limes library stands guard, protecting your ...
  7. Jul 25, 2023After that, you just need to add the components you want the id to have. The available components are: System UUID: Unique identifier of your machine. CPU Cores: Number of physical cores from your computer. OS Name: Operative System name, i.e., linux/windows. Username: The username currently being used. Machine Name: The name of the machine
  8. Dec 6, 2024228 downloads per month . MIT license . 19KB 216 lines. ️ Snowflake. Snowflake is a lightweight, efficient Rust library that implements Twitter's Snowflake algorithm for generating unique, time-based IDs. Designed for distributed systems, it provides a scalable solution to ID generation, ensuring no collisions even across multiple workers.
  9. Feb 5, 2025A UUID is a unique 128-bit value, stored as 16 octets, and regularly formatted as a hex string in five groups. UUIDs are used to assign unique identifiers to entities without requiring a central allocating authority. They are particularly useful in distributed systems, though can be used in disparate areas, such as databases and network protocols.
  10. Nov 29, 2023unique-type-id. A rust procedural macro crate for generating unique id for the rust types. What does it do? It simply implements a trait for the type where is only one method - id()-> TypeId which returns a unique positive number. For id generation, the procedural macro reads the file called "types.toml" and searches for the type name there.
  11. Oct 28, 2024XUIDs, or Xbox User IDs, are unique 64-bit unsigned integers assigned to Xbox Live accounts to identify users across Microsoft's gaming platforms. These IDs are used in various services, such as Xbox Live multiplayer games, cloud storage, and profile management, to reference a user without relying on a username, which can change over time. ...
  12. Can’t find what you’re looking for?

    Help us improve DuckDuckGo searches with your feedback

Custom date rangeX