qdeconinck / unix-time

A minimalist Rust crate to play with UNIX epoch-based Instant

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unix-time

A minimalist Rust crate to play with UNIX epoch-based Instant.

Using it

Simply add this to your Cargo.toml:

[dependencies]
unix-time = "0.1"

You can then use the defined Instant using

use unix_time::Instant;
// Do whatever you want with Instant

About

A minimalist Rust crate to play with UNIX epoch-based Instant

License:MIT License


Languages

Language:Rust 100.0%