# 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" rust-version = "1.75" name = "govuk-bank-holidays" version = "0.2.1" authors = ["ushkarev "] build = false exclude = [ ".editorconfig", ".github/*", "Justfile", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Library for loading the official list of bank holidays in the United Kingdom from GOV.UK" readme = "README.md" keywords = [ "bank-holiday", "holiday", "united-kingdom", ] categories = [ "date-and-time", "localization", ] license = "MIT" repository = "https://github.com/ministryofjustice/govuk-bank-holidays-rs" [package.metadata.docs.rs] targets = [] [lib] name = "govuk_bank_holidays" path = "src/lib.rs" [[example]] name = "bank-holidays" path = "examples/bank-holidays.rs" [[example]] name = "download" path = "examples/download.rs" [dependencies.chrono] version = "^0.4" features = ["serde"] optional = true [dependencies.reqwest] version = "^0.12" features = ["json"] [dependencies.serde] version = "^1.0" features = ["derive"] [dependencies.serde_json] version = "^1.0" [dependencies.thiserror] version = "^2.0" [dependencies.time] version = "^0.3" features = [ "local-offset", "serde-human-readable", ] optional = true [dependencies.tracing] version = "^0.1" [dev-dependencies.tokio] version = "^1.40" features = [ "macros", "rt-multi-thread", "test-util", "tracing", ] [dev-dependencies.tracing-subscriber] version = "^0.3" features = [ "env-filter", "json", "local-time", ] [features] chrono = ["dep:chrono"] default = ["chrono"] time = ["dep:time"] [lints.clippy] await_holding_lock = "deny" dbg_macro = "deny" str_to_string = "warn" [lints.rust] missing_docs = "warn" unused_import_braces = "warn" unused_must_use = "deny" [lints.rust.future_incompatible] level = "warn" priority = -1 [lints.rust.nonstandard_style] level = "warn" priority = -1 [lints.rust.rust_2018_idioms] level = "warn" priority = -1 [lints.rust.unused] level = "warn" priority = -1