rtz
A self-contained timezone library / binary / server for Rust / JS (via WASM) (free server).
Binary Usage
Install
Cargo:
NPM:
Wasmer
Help Docs
Library Usage
Add this to your Cargo.toml:
[]
= "*" #choose a version
Examples
JS Usage
Feature Flags
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 theservesubcommand, which starts a Rocket web server that can respond to time zone requests.
Test
Bench
License
MIT