Debian Codegraph @

debian/rust-vendor/jiff-static/README.md

raw
1 jiff-static
2 ===========
3 This is an optional dependency of `jiff` that embeds time zone data into your
4 binary via procedural macros. It unlocks the use case of creating a `TimeZone`
5 value in core-only environments without dynamic memory allocation.
6
7 Users should generally not depend on this directly, but instead use it
8 through Jiff. Namely, all of the procedural macros defined in this crate
9 are re-exported through Jiff's public API. For example, one can enable the
10 `static` or `static-tz` crate features in `jiff` to get `jiff::tz::get!` and
11 `jiff::tz::include!`.
12
13 **WARNING**: The `src/shared` directory in this crate is copied from the
14 `../src/shared` directory. This copy is managed by `jiff-cli generate shared`.
15 See the comments in the code for why this is done.
16
17 ### Documentation
18
19 https://docs.rs/jiff-static