3 releases (breaking)
0.3.0 | Jan 8, 2023 |
---|---|
0.2.0 | Jan 8, 2023 |
0.1.0 | Jan 7, 2023 |
#702 in Authentication
16KB
241 lines
uuid-mc
A Rust implementation of Minecraft's UUID logic. Includes functions to convert between usernames and online UUIDs (via the mojang API), and also crucially includes conversion from usernames to offline UUIDs (which was missing from the rust ecosystem).
Usage
Simply include the latest version of uuid-mc
in your project. There are examples in the documentation.
Licens
Licensed under either of:
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
lib.rs
:
This library provides functionality for converting usernames to and from Minecraft UUIDs,
including support for offline and online players.
You may choose to disable either the offline
or online
features if you don't need them.
To start, head over to PlayerUuid
or look at some of the examples in this crate.
Dependencies
~0.5–1.7MB
~35K SLoC