[dependencies.jiff-static]
optional = true
version = "0.2"
[dependencies.jiff-tzdb]
optional = true
version = "0.1.5"
[dependencies.log]
default-features = false
optional = true
version = "0.4.21"
[dependencies.serde_core]
default-features = false
optional = true
version = "1.0.221"
[dev-dependencies.anyhow]
version = "1.0.81"
[dev-dependencies.chrono]
features = ["serde"]
version = "0.4.38"
[dev-dependencies.chrono-tz]
version = "0.10.0"
[dev-dependencies.humantime]
version = "2.1.0"
[dev-dependencies.insta]
version = "1.39.0"
[dev-dependencies.log]
version = "0.4.21"
[dev-dependencies.quickcheck]
default-features = false
version = "1.0.3"
[dev-dependencies.serde]
features = ["derive"]
version = "1.0.203"
[dev-dependencies.serde_json]
version = "1.0.117"
[dev-dependencies.serde_yaml]
version = "0.9.34"
[dev-dependencies.tabwriter]
version = "1.4.0"
[dev-dependencies.time]
features = ["local-offset", "macros", "parsing"]
version = "0.3.36"
[dev-dependencies.tzfile]
version = "0.1.3"
[dev-dependencies.walkdir]
version = "2.5.0"
[features]
alloc = ["serde_core?/alloc", "portable-atomic-util/alloc"]
default = ["std", "tz-system", "tz-fat", "tzdb-bundle-platform", "tzdb-zoneinfo", "tzdb-concatenated", "perf-inline"]
js = ["dep:wasm-bindgen", "dep:js-sys"]
logging = ["dep:log"]
perf-inline = []
serde = ["dep:serde_core"]
static = ["static-tz", "jiff-static?/tzdb"]
static-tz = ["dep:jiff-static"]
std = ["alloc", "log?/std", "serde_core?/std"]
tz-fat = ["jiff-static?/tz-fat"]
tz-system = ["std", "dep:windows-sys"]
tzdb-bundle-always = ["dep:jiff-tzdb", "alloc"]
tzdb-bundle-platform = ["dep:jiff-tzdb-platform", "alloc"]
tzdb-concatenated = ["std"]
tzdb-zoneinfo = ["std"]
[lib]
name = "jiff"
path = "src/lib.rs"
[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(docsrs_jiff)"]
level = "allow"
priority = 0
[package]
authors = ["Andrew Gallant <jamslam@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["date-and-time", "no-std"]
description = """
A date-time library that encourages you to jump into the pit of success.
This library is heavily inspired by the Temporal project.
"""
documentation = "https://docs.rs/jiff"
edition = "2021"
include = ["/src/**/*.rs", "/tests/lib.rs", "/*.md", "COPYING", "LICENSE-MIT", "UNLICENSE"]
keywords = ["date", "time", "calendar", "zone", "duration"]
license = "Unlicense OR MIT"
name = "jiff"
readme = "README.md"
repository = "https://github.com/BurntSushi/jiff"
rust-version = "1.70"
version = "0.2.18"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs_jiff"]
[profile.testrelease]
debug-assertions = false
inherits = "test"
[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dependencies.js-sys]
optional = true
version = "0.3.50"
[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dependencies.wasm-bindgen]
optional = true
version = "0.2.70"
[target."cfg(any())".dependencies.jiff-static]
version = "=0.2.18"
[target.'cfg(any(windows, target_family = "wasm"))'.dependencies.jiff-tzdb-platform]
optional = true
version = "0.1.3"
[target.'cfg(not(target_family = "wasm"))'.dev-dependencies.hifitime]
version = "3.9.0"
[target.'cfg(not(target_has_atomic = "ptr"))'.dependencies.portable-atomic]
default-features = false
version = "1.10.0"
[target.'cfg(not(target_has_atomic = "ptr"))'.dependencies.portable-atomic-util]
default-features = false
version = "0.2.4"
[target."cfg(windows)".dependencies.windows-sys]
default-features = false
features = ["Win32_Foundation", "Win32_System_Time"]
optional = true
version = ">=0.52.0, <=0.61.*"
[[test]]
name = "integration"
path = "tests/lib.rs"