#snowflake #discord #parser #chrono-support

dflake

A simple Discord snowflake parsing library

1 unstable release

0.1.0 Apr 9, 2021

#42 in #snowflake

MIT/Apache

8KB
75 lines

ci-badge docs-badge crate-version

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:

ci-badge docs-badge crate-version

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