Skip to content

Commit 78bfaa5

Browse files
committed
Prepare 2.1.2 maintenance release
1 parent 69af1ce commit 78bfaa5

46 files changed

Lines changed: 289 additions & 191 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/ci.yml‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,18 @@ jobs:
3434
run: scripts/ci_install_rust.sh
3535

3636
- name: Cache Rust build output
37-
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
37+
uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
3838
with:
3939
cache-on-failure: true
4040

4141
- name: Audit dependencies
4242
shell: bash
4343
run: |
44-
if ! cargo audit --version >/dev/null 2>&1; then
45-
cargo install cargo-audit --version 0.22.2 --locked
44+
if [[ "$(cargo audit --version 2>/dev/null || true)" != *" 0.23.0" ]]; then
45+
cargo install cargo-audit --version 0.23.0 --locked --force
4646
fi
47-
if [ "$(cargo deny --version 2>/dev/null || true)" != "cargo-deny 0.20.2" ]; then
48-
cargo install cargo-deny --version 0.20.2 --locked --force
47+
if [ "$(cargo deny --version 2>/dev/null || true)" != "cargo-deny 0.21.0" ]; then
48+
cargo install cargo-deny --version 0.21.0 --locked --force
4949
fi
5050
cargo audit --deny warnings
5151
@@ -73,7 +73,7 @@ jobs:
7373
run: scripts/ci_install_rust.sh
7474

7575
- name: Cache Rust build output
76-
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
76+
uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
7777
with:
7878
cache-on-failure: true
7979

@@ -116,7 +116,7 @@ jobs:
116116
run: rustup target add ${{ matrix.target }}
117117

118118
- name: Cache Rust build output
119-
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
119+
uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
120120
with:
121121
cache-on-failure: true
122122

@@ -164,7 +164,7 @@ jobs:
164164
run: rustup target add ${{ matrix.target }}
165165

166166
- name: Cache Rust build output
167-
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
167+
uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
168168
with:
169169
cache-on-failure: true
170170

‎.github/workflows/miri.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
rustup +"$MIRI_TOOLCHAIN" component add rust-src
3636
3737
- name: Cache Rust build output
38-
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
38+
uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
3939
with:
4040
cache-on-failure: true
4141

‎.github/workflows/security-evidence.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
rustup target add --toolchain nightly x86_64-unknown-linux-gnu
4040
4141
- name: Cache Rust build output
42-
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
42+
uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
4343
with:
4444
cache-on-failure: true
4545

@@ -68,7 +68,7 @@ jobs:
6868
run: cargo +nightly install cargo-fuzz --version 0.13.2 --locked
6969

7070
- name: Cache Rust build output
71-
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
71+
uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
7272
with:
7373
cache-on-failure: true
7474

‎CHANGELOG.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## 2.1.2
4+
5+
- Test the six workspace crates through Rust `1.100.0`, with an MSRV of `1.90.0`.
6+
- Update CI to cargo-audit `0.23.0`, cargo-deny `0.21.0`, and rust-cache `v2.9.3`.
7+
- Refresh all nine Cargo lockfiles, including `syn 3.0.10`, `zeroize 1.9.2`,
8+
and the Loom concurrency test harness dependency `loom 0.7.3`.
9+
310
## 2.1.1
411

512
- Pin release development to Rust `1.99.1` while retaining Rust `1.90.0` as

‎Cargo.lock‎

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ default-members = ["crates/sanitization"]
1111
resolver = "2"
1212

1313
[workspace.package]
14-
version = "2.1.1"
14+
version = "2.1.2"
1515
edition = "2021"
1616
rust-version = "1.90"
1717
license = "MIT OR Apache-2.0"

‎README.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -86,21 +86,21 @@ Fixed-size `no_std` secrets need no feature flags:
8686

8787
```toml
8888
[dependencies]
89-
sanitization = "2.1.1"
89+
sanitization = "2.1.2"
9090
```
9191

9292
Heap-backed byte and text containers:
9393

9494
```toml
9595
[dependencies]
96-
sanitization = { version = "2.1.1", features = ["alloc"] }
96+
sanitization = { version = "2.1.2", features = ["alloc"] }
9797
```
9898

9999
Recommended native hardening profile:
100100

101101
```toml
102102
[dependencies]
103-
sanitization = { version = "2.1.1", features = ["profile-hardened-native"] }
103+
sanitization = { version = "2.1.2", features = ["profile-hardened-native"] }
104104
```
105105

106106
This profile includes OS-random canaries and `strict-canary-check`. Enabling
@@ -111,7 +111,7 @@ Optional derives:
111111

112112
```toml
113113
[dependencies]
114-
sanitization = { version = "2.1.1", features = ["derive"] }
114+
sanitization = { version = "2.1.2", features = ["derive"] }
115115
```
116116

117117
See the complete [feature reference](https://github.com/valkyoth/sanitization/blob/main/docs/FEATURES.md) before combining
@@ -494,7 +494,7 @@ JIT boundary. See [FEATURE_PROFILES.md](https://github.com/valkyoth/sanitization
494494
| --- | --- |
495495
| License | `MIT OR Apache-2.0` |
496496
| MSRV | Rust `1.90.0` |
497-
| Pinned toolchain | Rust `1.99.1` |
497+
| Pinned toolchain | Rust `1.100.0` |
498498
| Default target | `no_std` |
499499
| Default external runtime dependencies | zero |
500500
| Unsafe policy | denied at crate root and isolated in documented modules |
@@ -516,7 +516,7 @@ High-assurance users should read these documents in order:
516516

517517
## Rust Version Support
518518

519-
The MSRV is Rust `1.90.0`. Release development is pinned to Rust `1.99.1`, and
519+
The MSRV is Rust `1.90.0`. Release development is pinned to Rust `1.100.0`, and
520520
the release gate checks compatibility from `1.90.0` through the pinned stable
521521
toolchain. The online release preflight also verifies that the pin is the
522522
current stable patch release without changing the MSRV.
@@ -569,7 +569,7 @@ when installed. Native target evidence and timing runs are documented in
569569
Release publication is staged through:
570570

571571
```bash
572-
scripts/release_crates.py --version 2.1.1 --prepare-only
572+
scripts/release_crates.py --version 2.1.2 --prepare-only
573573
scripts/release_crates.py --require-tag
574574
```
575575

‎crates/sanitization-arrayvec/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ clearing-owner = "sanitization"
2222

2323
[dependencies]
2424
arrayvec = { version = "0.7", default-features = false }
25-
sanitization = { version = "2.1.1", path = "../sanitization", default-features = false }
25+
sanitization = { version = "2.1.2", path = "../sanitization", default-features = false }
2626

2727
[package.metadata.docs.rs]
2828
all-features = true

‎crates/sanitization-bytes/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ clearing-owner = "sanitization"
2222

2323
[dependencies]
2424
bytes = { version = "1.12.1", default-features = false }
25-
sanitization = { version = "2.1.1", path = "../sanitization", default-features = false, features = ["alloc"] }
25+
sanitization = { version = "2.1.2", path = "../sanitization", default-features = false, features = ["alloc"] }
2626

2727
[package.metadata.docs.rs]
2828
all-features = true

‎crates/sanitization-crypto-interop/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ strict-compare = ["sanitization/strict-compare"]
3131

3232
[dependencies]
3333
blake3 = { version = "1.8.7", default-features = false, features = ["zeroize"], optional = true }
34-
sanitization = { version = "2.1.1", path = "../sanitization", default-features = false }
34+
sanitization = { version = "2.1.2", path = "../sanitization", default-features = false }
3535
sha2 = { version = "0.11.1", default-features = false, features = ["alloc", "zeroize"], optional = true }
3636
zeroize = { version = "1", default-features = false, optional = true }
3737

0 commit comments

Comments
 (0)