Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps) Update Rust crate rpm to 0.14.0 (dev) #9102

Merged
merged 1 commit into from
Mar 7, 2024

chore(deps) Update Rust crate rpm to 0.14.0

85f64bb
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

chore(deps) Update Rust crate rpm to 0.14.0 (dev) #9102

chore(deps) Update Rust crate rpm to 0.14.0
85f64bb
Select commit
Loading
Failed to load commit list.
GitHub Actions / Security audit succeeded Mar 6, 2024 in 0s

Security advisories found

1 unmaintained

Details

Warnings

RUSTSEC-2023-0081

safemem is unmaintained

Details
Status unmaintained
Package safemem
Version 0.3.3
URL https://github.com/abonander/safemem
Date 2023-02-14

The latest crates.io release was in 2019. The repository has been archived by the author.

Migration

  • safemem::copy_over(slice, src_idx, dest_idx, len); can be replaced with slice.copy_within(src_idx..src_idx+len, dest_idx); as of rust 1.37.0.

  • safemem::write_bytes(slice, byte); can be replaced with slice.fill(byte); as of rust 1.50.0

  • safemem::prepend(slice, vec); can be replaced with

    let old_len = vec.len();
    vec.extend_from_slice(slice);
    vec.rotate_left(old_len);

    as of rust 1.26.0