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 wheneveropening-hours
is added without
somewhere in the dependency tree.default-features = false - auto-country
-
Enables country-boundaries
Feature: auto-country
- auto-timezone
-
chrono-tz:
Feature: auto-timezone
- log default
-
Enables log of opening-hours-syntax and log
Feature: log (default)