#uuid #guid #unique

no-std nuuid

A new, no_std, UUID Library

6 releases

0.3.1 May 3, 2021
0.3.0 May 3, 2021
0.2.1 Mar 4, 2021
0.1.1 Dec 7, 2020

#139 in No standard library

44 downloads per month

MIT/Apache

28KB
479 lines

Nuuid

standard-readme compliant nuuid crates.io version and link nuuid Crates.io license nuuid docs.rs badge

A New Uuid(nuuid) library for Rust

A no_std library to create and use RFC 4122 UUID's in Rust.

Security

UUID's can be used without requiring a central authority, but are not, strictly speaking, guaranteed to be unique, collisions may be possible.

Do not assume they are hard to guess, they should not be used as security capabilities.

Do not assume people can tell if they've been altered at a glance. They can't.

Install

[dependencies]
nuuid = "0.3.1"

no_std support:

[dependencies]
nuuid = "0.3.1"

Dependencies

Depends on getrandom by default, which is no_std but, depending on target, requires OS system libraries.

This crate is only tested on the latest stable Rust.

Usage

See the documentation for details

Changelog

Please see CHANGELOG for version history

See Also

The other uuid crate.

Contributing

Feel free to ask questions on the Github repo.

See CONTRIBUTING.md for details on code contributions.

License

Licensed under either of

at your option.

Dependencies

~0.6–0.9MB
~19K SLoC