Skip to content

Commit

Permalink
Use v0.6.x to implement v0.5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Kijewski committed Dec 29, 2023
1 parent f1a031c commit 610b10b
Show file tree
Hide file tree
Showing 22 changed files with 28 additions and 1,392 deletions.
36 changes: 17 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ jobs:
RUSTC_BOOTSTRAP: 1
run: cargo generate-lockfile ${{ matrix.versions }}

- run: cargo check --package tzdb --all-targets
- run: cargo clippy --package tzdb --all-targets -- -D warnings
- run: cargo check --package 'tzdb:0.5.10' --all-targets
- run: cargo clippy --package 'tzdb:0.5.10' --all-targets -- -D warnings

clippy-pedantic:
runs-on: ubuntu-20.04
Expand All @@ -83,7 +83,7 @@ jobs:
with:
components: clippy

- run: cargo clippy --package tzdb --all-targets -- -D clippy::pedantic
- run: cargo clippy --package 'tzdb:0.5.10' --all-targets -- -D clippy::pedantic

test:
runs-on: ubuntu-20.04
Expand All @@ -98,9 +98,9 @@ jobs:
with:
components: clippy

- run: cargo check --package tzdb --all-targets
- run: cargo clippy --package tzdb --all-targets -- -D warnings
- run: cargo test --package tzdb --all-targets
- run: cargo check --package 'tzdb:0.5.10' --all-targets
- run: cargo clippy --package 'tzdb:0.5.10' --all-targets -- -D warnings
- run: cargo test --package 'tzdb:0.5.10' --all-targets
- run: cargo run --package current-time
- run: cd testing && cargo test

Expand All @@ -120,10 +120,10 @@ jobs:
components: miri

- name: Test (tzdb)
run: cargo miri test --package tzdb --all-targets
run: cargo miri test --package 'tzdb:0.5.10' --all-targets

- name: Test (testing)
run: cd testing && cargo miri test --package tzdb --all-targets
run: cd testing && cargo miri test --package 'tzdb:0.5.10' --all-targets

cross-miri:
strategy:
Expand All @@ -132,8 +132,6 @@ jobs:
target:
- aarch64-unknown-linux-gnu
- i586-unknown-linux-gnu
- mipsel-unknown-linux-gnu
- mips64el-unknown-linux-gnuabi64
- powerpc-unknown-linux-gnu
- powerpc64-unknown-linux-gnu
- powerpc64le-unknown-linux-gnu
Expand All @@ -153,7 +151,7 @@ jobs:
target: ${{ matrix.target }}

- name: Test
run: cargo miri test --package tzdb --target ${{ matrix.target }}
run: cargo miri test --package 'tzdb:0.5.10' --target ${{ matrix.target }}

doc:
runs-on: ubuntu-20.04
Expand All @@ -169,7 +167,7 @@ jobs:
toolchain: nightly
components: rust-docs

- run: cargo doc --package tzdb --all-features --no-deps
- run: cargo doc --package 'tzdb:0.5.10' --all-features --no-deps
env:
RUSTDOCFLAGS: -D warnings --cfg docsrs

Expand Down Expand Up @@ -217,9 +215,9 @@ jobs:

- name: Install "cross"
run: curl --location --silent --show-error --fail https://github.com/cargo-bins/cargo-quickinstall/releases/download/cross-0.2.5-x86_64-unknown-linux-gnu/cross-0.2.5-x86_64-unknown-linux-gnu.tar.gz | tar -xzvvf - -C $HOME/.cargo/bin
- run: cross check --target ${{ matrix.target }} --package tzdb --all-targets
- run: cross clippy --target ${{ matrix.target }} --package tzdb --all-targets -- -D warnings
- run: cross build --target ${{ matrix.target }} --package tzdb --lib
- run: cross check --target ${{ matrix.target }} --package 'tzdb:0.5.10' --all-targets
- run: cross clippy --target ${{ matrix.target }} --package 'tzdb:0.5.10' --all-targets -- -D warnings
- run: cross build --target ${{ matrix.target }} --package 'tzdb:0.5.10' --lib
- run: cross build --target ${{ matrix.target }} --examples

build-cross-ios:
Expand All @@ -246,9 +244,9 @@ jobs:

- name: Install "cross"
run: curl --location --silent --show-error --fail https://github.com/cargo-bins/cargo-quickinstall/releases/download/cross-0.2.5-x86_64-apple-darwin/cross-0.2.5-x86_64-apple-darwin.tar.gz | tar -xzvvf - -C $HOME/.cargo/bin
- run: cross check --target ${{ matrix.target }} --package tzdb --all-targets
- run: cross clippy --target ${{ matrix.target }} --package tzdb --all-targets -- -D warnings
- run: cross build --target ${{ matrix.target }} --package tzdb --lib
- run: cross check --target ${{ matrix.target }} --package 'tzdb:0.5.10' --all-targets
- run: cross clippy --target ${{ matrix.target }} --package 'tzdb:0.5.10' --all-targets -- -D warnings
- run: cross build --target ${{ matrix.target }} --package 'tzdb:0.5.10' --lib
- run: cross build --target ${{ matrix.target }} --examples

package:
Expand All @@ -264,7 +262,7 @@ jobs:
with:
toolchain: stable

- run: cargo package --package tzdb
- run: cargo package --package 'tzdb:0.5.10'

devskim:
name: DevSkim
Expand Down
4 changes: 0 additions & 4 deletions .gitmodules

This file was deleted.

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## Changes between the versions

### 0.5.10 (2023-12-29)

* Use v0.6.x to implement v0.5.x

### 0.5.9 (2023-12-27)

* Update to Time Zone Database release [2023d](https://mm.icann.org/pipermail/tz-announce/2023-December/000080.html)
Expand Down
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tzdb"
version = "0.5.9"
version = "0.5.10"
edition = "2018"
authors = ["René Kijewski <crates.io@k6i.de>"]
repository = "https://github.com/Kijewski/tzdb"
Expand All @@ -14,6 +14,7 @@ readme = "README.md"
[dependencies]
tz-rs = { version = "^0.6.14", default-features = false, features = ["const", "std"] }
iana-time-zone = { version = "^0.1.50", default-features = false }
tzdb_06 = { package = "tzdb", version = "0.6.0" }

[features]
default = ["fallback"]
Expand Down
20 changes: 0 additions & 20 deletions Makefile

This file was deleted.

27 changes: 0 additions & 27 deletions benchmarks/Cargo.toml

This file was deleted.

118 changes: 0 additions & 118 deletions benchmarks/benches/by-name.rs

This file was deleted.

1 change: 0 additions & 1 deletion fuzz/.gitignore

This file was deleted.

43 changes: 0 additions & 43 deletions fuzz/Cargo.toml

This file was deleted.

5 changes: 0 additions & 5 deletions fuzz/bin/afl.rs

This file was deleted.

7 changes: 0 additions & 7 deletions fuzz/bin/honggfuzz.rs

This file was deleted.

5 changes: 0 additions & 5 deletions fuzz/bin/libfuzzer.rs

This file was deleted.

8 changes: 0 additions & 8 deletions fuzz/run.sh

This file was deleted.

Loading

0 comments on commit 610b10b

Please sign in to comment.