jiff-tzdb-platform-0.1.1/.cargo_vcs_info.json0000644000000001600000000000100145310ustar { "git": { "sha1": "d6dc8841a405c1d6fbb670a8f028f0cbb901fcf7" }, "path_in_vcs": "jiff-tzdb-platform" }jiff-tzdb-platform-0.1.1/COPYING000064400000000000000000000001761046102023000143630ustar 00000000000000This project is dual-licensed under the Unlicense and MIT licenses. You may use this code under the terms of either license. jiff-tzdb-platform-0.1.1/Cargo.toml0000644000000023460000000000100125370ustar # 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.70" name = "jiff-tzdb-platform" version = "0.1.1" authors = ["Andrew Gallant "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = """ The entire Time Zone Database embedded into your binary for specific platforms. """ homepage = "https://github.com/BurntSushi/jiff/tree/master/jiff-tzdb-platform" documentation = "https://docs.rs/jiff-tzdb-platform" readme = "README.md" keywords = [ "date", "time", "temporal", "zone", "iana", ] categories = ["date-and-time"] license = "Unlicense OR MIT" repository = "https://github.com/BurntSushi/jiff" [lib] name = "jiff_tzdb_platform" path = "lib.rs" bench = false [dependencies.jiff-tzdb] version = "0.1.1" jiff-tzdb-platform-0.1.1/Cargo.toml.orig000064400000000000000000000013061046102023000162130ustar 00000000000000[package] name = "jiff-tzdb-platform" version = "0.1.1" #:version authors = ["Andrew Gallant "] license = "Unlicense OR MIT" homepage = "https://github.com/BurntSushi/jiff/tree/master/jiff-tzdb-platform" repository = "https://github.com/BurntSushi/jiff" documentation = "https://docs.rs/jiff-tzdb-platform" description = """ The entire Time Zone Database embedded into your binary for specific platforms. """ categories = ["date-and-time"] keywords = ["date", "time", "temporal", "zone", "iana"] workspace = ".." edition = "2021" rust-version = "1.70" [lib] name = "jiff_tzdb_platform" bench = false path = "lib.rs" [dependencies] jiff-tzdb = { version = "0.1.1", path = "../jiff-tzdb" } jiff-tzdb-platform-0.1.1/LICENSE-MIT000064400000000000000000000020711046102023000147600ustar 00000000000000The MIT License (MIT) Copyright (c) 2015 Andrew Gallant Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. jiff-tzdb-platform-0.1.1/README.md000064400000000000000000000015501046102023000146040ustar 00000000000000jiff-tzdb-platform ================== This is an optional dependency of `jiff` that embeds the entire [IANA Time Zone Database] into the compiled binary only on specific platforms. Specifically, it embeds the binary [TZif] for each time zone. The platforms for which this embeds the data are controlled via the Jiff dependency on this crate. Namely, this crate merely serves as a target dependent proxy. It exists because target specific Cargo features don't exist. The idea is that this crate is an optional dependency that is enabled by default, but due to its target specific nature, it is only enabled for specific platforms that lack a system copy of the IANA Time Zone Database (i.e., Windows). [IANA Time Zone Database]: https://www.iana.org/time-zones [TZif]: https://datatracker.ietf.org/doc/html/rfc8536 ### Documentation https://docs.rs/jiff-tzdb-platform jiff-tzdb-platform-0.1.1/UNLICENSE000064400000000000000000000022731046102023000146000ustar 00000000000000This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. For more information, please refer to jiff-tzdb-platform-0.1.1/lib.rs000064400000000000000000000014721046102023000144440ustar 00000000000000/*! A crate that embeds data from the [IANA Time Zone Database] for platforms without a system copy. This crate re-exports [`jiff-tzdb`]. Its only purpose in existing is as a target specific dependency of [Jiff]. Specifically, it allows a particular dependency pattern that lets Jiff depend on `jiff-tzdb` on Windows by default (without needing users to opt into it), while specifically *not* depending on it by default for Unix platforms. This configuration is desirable because Windows does not have a standard system copy of the Time Zone Database while most Unix platforms do. And indeed, it is desirable to use the system copy whenever possible. [IANA Time Zone Database]: https://www.iana.org/time-zones [`jiff-tzdb`]: https://docs.rs/jiff-tzdb [Jiff]: https://docs.rs/jiff */ #![no_std] pub extern crate jiff_tzdb;