Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 24 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,39 @@ jobs:
RUSTDOCFLAGS: -D warnings

build-and-test:
# Name the leg for its role, not its version: a required status
# check is matched by job name, so a leg called "1.97" has to be
# reconfigured in branch protection every time the MSRV moves.
name: build-and-test (${{ matrix.os }}, ${{ matrix.rust-version }})
runs-on: ${{ matrix.os }}
env:
# rust-toolchain.toml would otherwise override whatever
# dtolnay/rust-toolchain selects; this variable overrides
# rust-toolchain.toml, so the matrix legs really do use different
# compilers. Without it both legs silently build with the pinned
# toolchain and the MSRV leg proves nothing.
RUSTUP_TOOLCHAIN: ${{ matrix.toolchain }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
# 1.97 is the MSRV
rust-version: [ stable, "1.97" ]
rust-version: [ stable, msrv ]
include:
- rust-version: stable
toolchain: stable
- rust-version: msrv
# Keep in sync with rust-version in Cargo.toml.
toolchain: "1.97"
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4
- uses: dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c # stable
with:
toolchain: ${{ matrix.rust-version }}
toolchain: ${{ matrix.toolchain }}
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
with:
# Matrix dimensions other than the OS need naming explicitly.
key: ${{ matrix.rust-version }}
- name: Report cargo version
run: cargo --version
- name: Report rustc version
run: rustc --version
- name: Build
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Next

## [1.0.0] - 2026-11-07

* Initial stable release

## [0.0.1-alpha.3] - 2026-09-17

* Added the type `Never` to represent a value that can never be constructed.
Expand All @@ -13,3 +17,8 @@
## [0.0.1-alpha.1] - 2026-08-18

* Initial release

[1.0.0]: https://github.com/oxidecomputer/json-serde/releases/v1.0.0
[0.0.1-alpha.3]: https://github.com/oxidecomputer/json-serde/releases/v0.0.1-alpha.3
[0.0.1-alpha.2]: https://github.com/oxidecomputer/json-serde/releases/v0.0.1-alpha.2
[0.0.1-alpha.1]: https://github.com/oxidecomputer/json-serde/releases/v0.0.1-alpha.1
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "json-serde"
version = "0.0.1-alpha.3"
version = "1.0.0"
edition = "2024"
rust-version = "1.97"
license = "Apache-2.0"
Expand Down
Loading