[package]
name = "temporal_capi"
description = "C interface to temporal_rs"
edition.workspace = true
version.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
include = [
    "bindings/**/*",
    "src/**/*",
    "tests/**/*",
    "Cargo.toml",
    "LICENSE-Apache",
    "LICENSE-MIT",
    "README.md",
]

[dependencies]
diplomat.workspace = true
diplomat-runtime.workspace = true
num-traits.workspace = true
temporal_rs = { workspace = true, default-features = false }
timezone_provider = { workspace = true, default-features = false }
icu_calendar.workspace = true
icu_locale.workspace = true
writeable.workspace = true
zoneinfo64 = { workspace = true, optional = true }

[features]
compiled_data = ["temporal_rs/compiled_data"]
zoneinfo64 = ["dep:zoneinfo64", "timezone_provider/zoneinfo64"]

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