Cargo Features

[dependencies]
opening-hours = { version = "0.11.0", default-features = false, features = ["disable-test-timeouts", "auto-country", "auto-timezone", "log"] }
disable-test-timeouts

Disable timeout behavior for performance tests. This is useful when tests need to be in slow environments or with high overhead, for example when measuring coverage.

default = log

The log feature is set by default whenever opening-hours is added without default-features = false somewhere in the dependency tree.

auto-country

Enables country-boundaries

Feature: auto-country

auto-timezone

Enables chrono-tz and tzf-rs

chrono-tz:

Feature: auto-timezone

log default

Enables log of opening-hours-syntax and log

Feature: log (default)