| 1 |
[package] |
| 2 |
name = "jiff-static" |
| 3 |
version = "0.2.18" #:version |
| 4 |
authors = ["Andrew Gallant <[email protected]>"] |
| 5 |
license = "Unlicense OR MIT" |
| 6 |
homepage = "https://github.com/BurntSushi/jiff/tree/master/crates/jiff-static" |
| 7 |
repository = "https://github.com/BurntSushi/jiff" |
| 8 |
documentation = "https://docs.rs/jiff-tzdb" |
| 9 |
description = "Create static TimeZone values for Jiff (useful in core-only environments)." |
| 10 |
categories = ["date-and-time"] |
| 11 |
keywords = ["date", "time", "static", "zone", "iana"] |
| 12 |
workspace = "../.." |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.70" |
| 15 |
include = ["/src/**/*.rs", "COPYING", "LICENSE-MIT", "UNLICENSE"] |
| 16 |
|
| 17 |
[lib] |
| 18 |
name = "jiff_static" |
| 19 |
bench = false |
| 20 |
proc-macro = true |
| 21 |
|
| 22 |
[features] |
| 23 |
default = [] |
| 24 |
# This forces the jiff-tzdb crate to be included and makes the `get` proc macro |
| 25 |
# available (which pulls from the bundled tzdb). |
| 26 |
tzdb = ["dep:jiff-tzdb"] |
| 27 |
# This fattens up the TZif data to contain more explicit transitions. This may |
| 28 |
# improve the performance of time zone lookups. |
| 29 |
# |
| 30 |
# See the `tz-fat` feature in this repository's root `Cargo.toml` for more |
| 31 |
# context. |
| 32 |
tz-fat = [] |
| 33 |
# Equivalent to the eponymous feature in `jiff` proper. Except it isn't |
| 34 |
# enabled by default here, since we don't really care about that level of |
| 35 |
# perf at compile time. |
| 36 |
perf-inline = [] |
| 37 |
|
| 38 |
[dependencies] |
| 39 |
jiff-tzdb = { version = "0.1.4", path = "../jiff-tzdb", optional = true } |
| 40 |
proc-macro2 = "1.0.93" |
| 41 |
quote = "1.0.38" |
| 42 |
syn = "2.0.98" |