Skip to content

Commit 568dbb6

Browse files
committed
Update to 2024b
1 parent c1978f6 commit 568dbb6

5 files changed

Lines changed: 9 additions & 4 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.DELETE_ON_ERROR:
22

3-
TZDB_VERSION := tzdb-2024a
3+
TZDB_VERSION := tzdb-2024b
44

55
tzdb_data/src/generated/mod.rs: tmp/${TZDB_VERSION}/usr/share/zoneinfo/ tzdb.tar.lz.sha
66
cd make-tzdb && cargo r -- ../$(@D) ../$< ../tzdb.tar.lz.sha

make-tzdb/src/main.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ fn gen_mod(args: &mut impl Iterator<Item = String>, target_dir: &Path) -> Result
164164
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
165165
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
166166
167+
#![allow(unknown_lints)]
167168
#![allow(clippy::pedantic)]
168169
169170
#[cfg(all(test, not(miri)))]
@@ -183,6 +184,7 @@ pub const VERSION: &str = {version:?};
183184
/// The SHA512 hash of the source Time Zone Database (using the "Complete Distribution")
184185
pub const VERSION_HASH: &str = {hash:?};
185186
187+
#[allow(unreachable_pub)] // false positive
186188
pub use self::tz_names::TZ_NAMES;
187189
"#
188190
);
@@ -275,6 +277,9 @@ fn collect_entries_by_bytes(args: &mut impl Iterator<Item = String>) -> anyhow::
275277

276278
fn gen_raw_tzdata(entries_by_bytes: IndexMap<Vec<u8>, Vec<TzName>>, target_dir: &Path) -> anyhow::Result<()> {
277279
let mut r = GENERATED_FILE.to_owned();
280+
writeln!(r, "#![allow(unknown_lints)]")?;
281+
writeln!(r, "#![allow(clippy::octal_escapes)]")?;
282+
writeln!(r)?;
278283
for (bytes, entries) in &entries_by_bytes {
279284
writeln!(
280285
r,

tzdb.tar.lz.sha

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f1a3b06ea2b28a0bf968b75f3674f3b64d8226338d42e2ed17aea33e34bff0f9a7a22f4116612e6c81b9b7b57deaee6ed01a6881000fa1042a7f4390b55a1856 tmp/tzdb-2024a.tar.lz
1+
72446e5cf445515512437c8deaae3063b093aab9620d6441cafaa9b3b71603c857f7ba53557579595788bbc901cd6142404b4db6b0e9f2b23d57b2b3cbc837a8 tmp/tzdb-2024b.tar.lz

tzdb_data/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tzdb_data"
3-
version = "0.1.2"
3+
version = "0.1.3"
44
edition = "2018"
55
authors = ["René Kijewski <crates.io@k6i.de>"]
66
repository = "https://github.com/Kijewski/tzdb"

tzdb_data/src/generated

Submodule generated updated from 1999874 to e04be62

0 commit comments

Comments
 (0)