Adding worldtimeapi library as a dependency

Run this command in a terminal, in your project's directory:

cargo add worldtimeapi

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

worldtimeapi = "0.5.3"

The worldtimeapi library will be automatically available globally. Read the worldtimeapi library documentation.

Back to the crate overview.