opening-hours 1.2.0

A parser and evaluation tool for the opening_hours fields in OpenStreetMap.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "opening-hours"
version = "1.2.0"
authors = ["Rémi Dupré <remi@dupre.io>"]
build = "opening-hours/build.rs"
exclude = ["dist/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A parser and evaluation tool for the opening_hours fields in OpenStreetMap."
homepage = "https://github.com/remi-dupre/opening-hours-rs"
documentation = "https://docs.rs/opening-hours"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/remi-dupre/opening-hours-rs"

[package.metadata.docs.rs]
all-features = true

[features]
auto-country = ["dep:country-boundaries"]
auto-timezone = [
    "dep:chrono-tz",
    "dep:tzf-rs",
]
default = ["log"]
log = [
    "opening-hours-syntax/log",
    "dep:log",
]

[lib]
name = "opening_hours"
path = "opening-hours/src/lib.rs"

[[bin]]
name = "schedule"
path = "opening-hours/src/bin/schedule.rs"

[[bench]]
name = "benchmarks"
path = "opening-hours/benches/benchmarks.rs"
harness = false

[dependencies.chrono]
version = "0.4"

[dependencies.chrono-tz]
version = "0.10"
optional = true

[dependencies.compact-calendar]
version = "1.2.0"

[dependencies.country-boundaries]
version = "1.2"
optional = true

[dependencies.flate2]
version = "1.0"

[dependencies.log]
version = "0.4"
features = ["kv"]
optional = true

[dependencies.opening-hours-syntax]
version = "1.2.0"

[dependencies.sunrise]
version = "3.0"

[dependencies.tzf-rs]
version = "1.1"
optional = true
default-features = false

[dev-dependencies.chrono-tz]
version = "0.10"

[dev-dependencies.criterion]
version = "0.8"

[build-dependencies.chrono]
version = "0.4"

[build-dependencies.compact-calendar]
version = "1.2.0"

[build-dependencies.country-boundaries]
version = "1.2"
optional = true

[build-dependencies.flate2]
version = "1.0"

[profile.bench]
lto = "fat"
codegen-units = 1

[profile.dev.package.flate2]
opt-level = 3