# 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.83.0"
name = "timezone_provider"
version = "0.2.0"
authors = ["boa-dev"]
build = false
include = [
    "src/**/*.rs",
    "src/data/*.rs.data",
    "Cargo.toml",
    "LICENSE-Apache",
    "LICENSE-MIT",
    "README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Time zone data providers"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/boa-dev/temporal"

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

[features]
datagen = [
    "std",
    "dep:serde",
    "dep:databake",
    "dep:yoke",
    "dep:serde_json",
    "tinystr/serde",
    "tinystr/databake",
    "zerotrie/serde",
    "zerotrie/databake",
    "zerovec/serde",
    "zerovec/databake",
    "zerovec/derive",
    "dep:zoneinfo_rs",
    "experimental_tzif",
]
default = []
experimental_tzif = [
    "dep:zerofrom",
    "zerofrom/derive",
]
std = []
tzif = [
    "dep:tzif",
    "dep:jiff-tzdb",
    "dep:combine",
    "std",
]
zoneinfo64 = ["dep:zoneinfo64"]

[lib]
name = "timezone_provider"
path = "src/lib.rs"

[dependencies.combine]
version = "4.6.7"
optional = true

[dependencies.databake]
version = "0.2.0"
features = ["derive"]
optional = true

[dependencies.jiff-tzdb]
version = "0.1.4"
optional = true

[dependencies.serde]
version = "1.0.225"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1.0.145"
optional = true

[dependencies.tinystr]
version = "0.8.0"
features = ["zerovec"]

[dependencies.tzif]
version = "0.4.0"
optional = true

[dependencies.yoke]
version = "0.8.0"
features = ["derive"]
optional = true

[dependencies.zerofrom]
version = "0.1.6"
optional = true

[dependencies.zerotrie]
version = "0.2.0"

[dependencies.zerovec]
version = "0.11.0"
features = [
    "derive",
    "alloc",
]

[dependencies.zoneinfo64]
version = "0.2.0"
optional = true

[dependencies.zoneinfo_rs]
version = "0.1.0"
features = [
    "std",
    "unstable",
]
optional = true
default-features = false

[dev-dependencies.icu_time]
version = "2"
features = ["compiled_data"]
