Compare commits

...

4 Commits

Author SHA1 Message Date
Yuki Okushi 668c9c0a8a
perf(bytestring): prefer `from_utf8_unchecked` (#864) 2026-04-21 15:30:10 +00:00
dependabot[bot] 8b19fa1de3
build(deps): bump taiki-e/install-action from 2.75.10 to 2.75.18 (#861)
Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 2.75.10 to 2.75.18.
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](85b24a67ef...055f5df8c3)

---
updated-dependencies:
- dependency-name: taiki-e/install-action
  dependency-version: 2.75.18
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2026-04-21 13:39:12 +00:00
dependabot[bot] 254e5775b3
build(deps): bump EmbarkStudios/cargo-deny-action from 2.0.16 to 2.0.17 (#862)
Bumps [EmbarkStudios/cargo-deny-action](https://github.com/embarkstudios/cargo-deny-action) from 2.0.16 to 2.0.17.
- [Release notes](https://github.com/embarkstudios/cargo-deny-action/releases)
- [Commits](175dc7fd4f...91bf2b620e)

---
updated-dependencies:
- dependency-name: EmbarkStudios/cargo-deny-action
  dependency-version: 2.0.17
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2026-04-21 13:38:47 +00:00
Yuki Okushi c8868b0e61
chore: address deny warning (#863) 2026-04-21 22:03:37 +09:00
7 changed files with 431 additions and 276 deletions

View File

@ -64,7 +64,7 @@ jobs:
toolchain: ${{ matrix.version }}
- name: Install just, cargo-hack, cargo-nextest, cargo-ci-cache-clean
uses: taiki-e/install-action@85b24a67ef0c632dfefad70b9d5ce8fddb040754 # v2.75.10
uses: taiki-e/install-action@055f5df8c3f65ea01cd41e9dc855becd88953486 # v2.75.18
with:
tool: just,cargo-hack,cargo-nextest,cargo-ci-cache-clean
@ -121,7 +121,7 @@ jobs:
toolchain: nightly
- name: Install cargo-hack & cargo-minimal-versions
uses: taiki-e/install-action@85b24a67ef0c632dfefad70b9d5ce8fddb040754 # v2.75.10
uses: taiki-e/install-action@055f5df8c3f65ea01cd41e9dc855becd88953486 # v2.75.18
with:
tool: cargo-hack,cargo-minimal-versions

View File

@ -73,7 +73,7 @@ jobs:
toolchain: ${{ matrix.version.version }}
- name: Install just, cargo-hack, cargo-nextest, cargo-ci-cache-clean
uses: taiki-e/install-action@85b24a67ef0c632dfefad70b9d5ce8fddb040754 # v2.75.10
uses: taiki-e/install-action@055f5df8c3f65ea01cd41e9dc855becd88953486 # v2.75.18
with:
tool: just,cargo-hack,cargo-nextest,cargo-ci-cache-clean
@ -114,7 +114,7 @@ jobs:
- name: deny check
if: matrix.version.name == 'stable' && matrix.target.os == 'ubuntu-latest'
uses: EmbarkStudios/cargo-deny-action@175dc7fd4fb85ec8f46948fb98f44db001149081 # v2.0.16
uses: EmbarkStudios/cargo-deny-action@91bf2b620e09e18d6eb78b92e7861937469acedb # v2.0.17
docs:
name: Documentation
@ -129,7 +129,7 @@ jobs:
toolchain: nightly
- name: Install just
uses: taiki-e/install-action@85b24a67ef0c632dfefad70b9d5ce8fddb040754 # v2.75.10
uses: taiki-e/install-action@055f5df8c3f65ea01cd41e9dc855becd88953486 # v2.75.18
with:
tool: just

View File

@ -23,7 +23,7 @@ jobs:
components: llvm-tools-preview
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@85b24a67ef0c632dfefad70b9d5ce8fddb040754 # v2.75.10
uses: taiki-e/install-action@055f5df8c3f65ea01cd41e9dc855becd88953486 # v2.75.18
with:
tool: cargo-llvm-cov

View File

@ -56,7 +56,7 @@ jobs:
toolchain: ${{ vars.RUST_VERSION_EXTERNAL_TYPES }}
- name: Install just
uses: taiki-e/install-action@85b24a67ef0c632dfefad70b9d5ce8fddb040754 # v2.75.10
uses: taiki-e/install-action@055f5df8c3f65ea01cd41e9dc855becd88953486 # v2.75.18
with:
tool: just

688
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -185,7 +185,8 @@ impl From<Box<str>> for ByteString {
impl From<ByteString> for String {
#[inline]
fn from(value: ByteString) -> Self {
String::from_utf8(value.0.into()).expect("ByteString invariant violated")
// SAFETY: UTF-8 validity is guaranteed during construction.
unsafe { String::from_utf8_unchecked(value.0.into()) }
}
}

View File

@ -75,6 +75,8 @@ ignore = [
{ id = "RUSTSEC-2024-0336", reason = "for compatibility" },
{ id = "RUSTSEC-2025-0134", reason = "for compatibility" },
{ id = "RUSTSEC-2026-0049", reason = "for compatibility" },
{ id = "RUSTSEC-2026-0098", reason = "for compatibility" },
{ id = "RUSTSEC-2026-0099", reason = "for compatibility" },
]
# If this is true, then cargo deny will use the git executable to fetch advisory database.
# If this is false, then it uses a built-in git library.