Skip to content

Switch from yaml-rust to yaml-rust2 #567

Closed
@gionapaolini

Description

@gionapaolini

It looks like the yaml-rust crate is not actively maintained anymore.

cargo-deny (https://github.com/EmbarkStudios/cargo-deny) suggests to switch to yaml-rust2

cargo deny check advisories

error[unmaintained]: yaml-rust is unmaintained.
    ┌─ ....../Cargo.lock:313:1
    │
313 │ yaml-rust 0.4.5 registry+https://github.com/rust-lang/crates.io-index
    │ --------------------------------------------------------------------- unmaintained advisory detected
    │
    = ID: RUSTSEC-2024-0320
    = Advisory: https://rustsec.org/advisories/RUSTSEC-2024-0320
    = The maintainer seems [unreachable](https://github.com/chyh1990/yaml-rust/issues/197).
      
      Many issues and pull requests have been submitted over the years
      without any [response](https://github.com/chyh1990/yaml-rust/issues/160).
      
      ## Alternatives
      
      Consider switching to the actively maintained `yaml-rust2` fork of the original project:
      
      - [yaml-rust2](https://github.com/Ethiraric/yaml-rust2)
      - [yaml-rust2 @ crates.io](https://crates.io/crates/yaml-rust2))
    = Announcement: https://github.com/rustsec/advisory-db/issues/1921
    = Solution: No safe upgrade is available!
    = yaml-rust v0.4.5
      └── config v0.14.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions