MS library

Fast converter various time formats into milliseconds. Like are 1d to 86400000

Getting Started

Usage

Add this to your Cargo.toml:

toml [dependencies] ms-converter = "0.5"

Example

```rust use crate::ms_converter::ms;

let value = ms("1d").unwrap(); assert_eq!(value, 86400000) ```

Performance

You can check performance diff between ms_converter and ms libraries here.

Running the tests

Unit tests

bash cargo test

Coding style tests

Running code style tests

cargo fmt --all -- --check

Contributing

Just create pr or issue. You welcome.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details