A self-contained timezone library / binary / server for Rust / JS (via WASM) (free server).
Cargo:
bash
$ cargo install rtz
NPM:
bash
$ npm install --save rtzweb
```bash
```
Add this to your Cargo.toml:
toml
[dependencies]
rtz = "*" #choose a version
The library and binary both support various feature flags. Of most important note are:
* default = ["cli"]
* cli: enables the CLI features, and can be removed if only compiling the library.
* server: enables the serve subcommand, which starts a Rocket web server that can respond to time zone requests.
bash
cargo test
bash
cargo bench
MIT