Skip to content

Commit bf1d845

Browse files
committed
chore(release): Release version 0.2.0
2 parents 5d025ce + da0ea15 commit bf1d845

22 files changed

+345
-96
lines changed

.bumpversion.toml

+1-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33
# SPDX-License-Identifier: Apache-2.0 OR MIT
44

55
[tool.bumpversion]
6-
current_version = "0.1.2"
7-
8-
[[tool.bumpversion.files]]
9-
filename = "README.md"
6+
current_version = "0.2.0"
107

118
[[tool.bumpversion.files]]
129
filename = "src/lib.rs"

.github/workflows/CI.yaml

+38-24
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,27 @@ jobs:
1919
runs-on: ${{ matrix.os }}
2020
strategy:
2121
matrix:
22-
target:
23-
- x86_64-unknown-linux-gnu
24-
- aarch64-apple-darwin
25-
- x86_64-pc-windows-msvc
26-
toolchain:
27-
- 1.67.0 # MSRV
22+
os-alias:
23+
- ubuntu
24+
- macos
25+
- windows
26+
toolchain-alias:
27+
- msrv
2828
- stable
2929
include:
30-
- target: x86_64-unknown-linux-gnu
30+
- os-alias: ubuntu
3131
os: ubuntu-24.04
32-
- target: aarch64-apple-darwin
32+
target: x86_64-unknown-linux-gnu
33+
- os-alias: macos
3334
os: macos-14
34-
- target: x86_64-pc-windows-msvc
35+
target: aarch64-apple-darwin
36+
- os-alias: windows
3537
os: windows-2022
38+
target: x86_64-pc-windows-msvc
39+
- toolchain-alias: msrv
40+
toolchain: 1.85.0
41+
- toolchain-alias: stable
42+
toolchain: stable
3643
steps:
3744
- name: Checkout code
3845
uses: actions/checkout@v4
@@ -42,7 +49,7 @@ jobs:
4249
toolchain: ${{ matrix.toolchain }}
4350
targets: ${{ matrix.target }}
4451
- name: Cache build artifacts
45-
uses: Swatinem/[email protected].5
52+
uses: Swatinem/[email protected].7
4653
with:
4754
key: ${{ matrix.target }}
4855
- name: Check a package
@@ -53,20 +60,27 @@ jobs:
5360
runs-on: ${{ matrix.os }}
5461
strategy:
5562
matrix:
56-
target:
57-
- x86_64-unknown-linux-gnu
58-
- aarch64-apple-darwin
59-
- x86_64-pc-windows-msvc
60-
toolchain:
61-
- 1.67.0
63+
os-alias:
64+
- ubuntu
65+
- macos
66+
- windows
67+
toolchain-alias:
68+
- msrv
6269
- stable
6370
include:
64-
- target: x86_64-unknown-linux-gnu
71+
- os-alias: ubuntu
6572
os: ubuntu-24.04
66-
- target: aarch64-apple-darwin
73+
target: x86_64-unknown-linux-gnu
74+
- os-alias: macos
6775
os: macos-14
68-
- target: x86_64-pc-windows-msvc
76+
target: aarch64-apple-darwin
77+
- os-alias: windows
6978
os: windows-2022
79+
target: x86_64-pc-windows-msvc
80+
- toolchain-alias: msrv
81+
toolchain: 1.85.0
82+
- toolchain-alias: stable
83+
toolchain: stable
7084
steps:
7185
- name: Checkout code
7286
uses: actions/checkout@v4
@@ -76,7 +90,7 @@ jobs:
7690
toolchain: ${{ matrix.toolchain }}
7791
targets: ${{ matrix.target }}
7892
- name: Cache build artifacts
79-
uses: Swatinem/[email protected].5
93+
uses: Swatinem/[email protected].7
8094
with:
8195
key: ${{ matrix.target }}
8296
- name: Run tests
@@ -94,7 +108,7 @@ jobs:
94108
toolchain: stable
95109
components: rustfmt
96110
- name: Cache build artifacts
97-
uses: Swatinem/[email protected].5
111+
uses: Swatinem/[email protected].7
98112
- name: Check code formatted
99113
run: cargo fmt -- --check
100114

@@ -110,7 +124,7 @@ jobs:
110124
toolchain: stable
111125
components: clippy
112126
- name: Cache build artifacts
113-
uses: Swatinem/[email protected].5
127+
uses: Swatinem/[email protected].7
114128
- name: Check no lint warnings
115129
run: cargo clippy -- -D warnings
116130

@@ -125,7 +139,7 @@ jobs:
125139
with:
126140
toolchain: stable
127141
- name: Cache build artifacts
128-
uses: Swatinem/[email protected].5
142+
uses: Swatinem/[email protected].7
129143
- name: Check no `rustdoc` lint warnings
130144
run: RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --document-private-items
131145

@@ -140,6 +154,6 @@ jobs:
140154
with:
141155
toolchain: nightly
142156
- name: Cache build artifacts
143-
uses: Swatinem/[email protected].5
157+
uses: Swatinem/[email protected].7
144158
- name: Run benchmarks
145159
run: cargo bench

.github/workflows/dependabot_auto_merge.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
steps:
1919
- name: Dependabot metadata
2020
id: metadata
21-
uses: dependabot/fetch-metadata@v2.2.0
21+
uses: dependabot/fetch-metadata@v2.3.0
2222
with:
2323
github-token: ${{ secrets.GITHUB_TOKEN }}
2424
- name: Approve a PR

CHANGELOG.adoc

+6
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ All notable changes to this project will be documented in this file.
1414
The format is based on https://keepachangelog.com/[Keep a Changelog], and this
1515
project adheres to https://semver.org/[Semantic Versioning].
1616

17+
== {compare-url}/v0.1.2\...v0.2.0[0.2.0] - 2025-03-23
18+
19+
=== Changed
20+
21+
* Bump MSRV to 1.85.0 ({pull-request-url}/20[#20])
22+
1723
== {compare-url}/v0.1.1\...v0.1.2[0.1.2] - 2024-11-30
1824

1925
=== Added

CONTRIBUTING.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ Please see the {commit-messages-guide-url}[Commit messages guide] and the
2828
. Create your patch. If your change is a feature or a bugfix, please add a test
2929
case if possible. Note that the change must pass the CI.
3030
. Please update the copyright information if possible. This project is
31-
compliant with version 3.2 of the
32-
https://reuse.software/spec/[_REUSE Specification_].
31+
compliant with version 3.3 of the
32+
https://reuse.software/spec-3.3/[_REUSE Specification_].
3333
https://github.com/fsfe/reuse-tool[`reuse`] is useful for updating the
3434
copyright information.
3535
. Please update the link:CHANGELOG.adoc[Changelog] if possible.

Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+3-5
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
[package]
66
name = "bit-int"
7-
version = "0.1.2"
7+
version = "0.2.0"
88
authors = ["Shun Sakai <[email protected]>"]
9-
edition = "2021"
10-
rust-version = "1.67.0"
9+
edition = "2024"
10+
rust-version = "1.85.0"
1111
description = "An arbitrary fixed bit-width integer library"
1212
documentation = "https://docs.rs/bit-int"
1313
readme = "README.md"
@@ -17,8 +17,6 @@ keywords = ["bit", "bitint", "integer", "numeric"]
1717
categories = ["data-structures", "no-std"]
1818
include = ["/LICENSES", "/README.md", "/src"]
1919

20-
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
21-
2220
[dependencies]
2321
num-traits = { version = "0.2.19", default-features = false }
2422

0 commit comments

Comments
 (0)