/rust-opening-hours

Store opening hours of a service or place.

Primary LanguageRustGNU General Public License v3.0GPL-3.0

Opening Hours Library for Rust

crates.io Latest Tag Build Status Documentation Homepage Built with Spacemacs

Store opening hours of a service or place.

Usage

Put this in your Cargo.toml:

[dependencies]
opening_hours = "^0"

Or, if you want Serde support, include itlike this:

[dependencies]
opening_hours = { version = "^0", features = ["with-serde"] }

Then put this in your crate root:

extern crate opening_hours;

How to Run the Examples

In order to run an example from the example folder issue the following command.

$ cargo run --example <name>

License

This project is licensed under the GPL-v3 license - see the LICENSE file for details.