1 unstable release
0.1.0 | Apr 9, 2021 |
---|
#38 in #snowflake
8KB
75 lines
dflake
A simple Discord snowflake parsing library. Comes with optional chrono support using the chrono_support
feature.
Sample Usage
use dflake::parse;
fn main() {
let dflake = parse(3971046231244935168);
println!("My internal process ID is: {}", dflake.process_id);
}
lib.rs
:
dflake
A simple Discord snowflake parsing library. Comes with optional chrono support using the chrono_support
feature.
Sample Usage
let dflake = dflake::parse(3971046231244935168);
println!("My internal process ID is: {}", dflake.process_id);
Dependencies
~0–280KB