yaml-rust
yaml-rust copied to clipboard
Maintainers
@chyh1990 Would you like to invite other maintainers to help here or relinquish your cargo publishing area to a developer who would like to step up and maintain the package in their fork?
Duplicate of #160.
I've been using my fork in projects that I actively maintain:
https://github.com/davvid/yaml-rust
I'm more than happy to take patches there since it is something that I need to rely on for the long haul.
@davvid I've been meaning to get some time to look at fixing an issue in your fork with block scalars.
Unfortunately you have issues turned off, so I can't file the issue while I try to get the time to work on it.
@hcldan I must've disabled them a few years ago and forgot about it. I've now re-enabled them https://github.com/davvid/yaml-rust/issues. Thanks for the heads-up.
My (previously) maintained fork (yaml-rust-davvid` @ crates.io) has merged efforts with @Ethiraric's fork as of https://github.com/Ethiraric/yaml-rust2/pull/2.
yaml-rust
users should switch over to the actively maintained yaml-rust2
project ~ https://github.com/Ethiraric/yaml-rust2 (yaml-rust2 @ crates.io).
Upgrading from yaml-rust
Use this Cargo.toml
snippet to use yaml-rust2
as a drop-in replacement for yaml-rust
:
[dependencies]
yaml-rust = { version = "0.6", package = "yaml-rust2" }
This allows you to switch to yaml-rust2
while continuing to refer to yaml_rust
in your code (e.g. use yaml_rust::YamlLoader;
will continue to work so that no Rust code changes are required).
My (previously) maintained fork (yaml-rust-davvid` @ crates.io) has merged efforts with @Ethiraric's fork as of Ethiraric#2.
yaml-rust
users should switch over to the actively maintainedyaml-rust2
project ~ https://github.com/Ethiraric/yaml-rust2 (yaml-rust2 @ crates.io).Upgrading from yaml-rust
Use this
Cargo.toml
snippet to useyaml-rust2
as a drop-in replacement foryaml-rust
:[dependencies] yaml-rust = { version = "0.6", package = "yaml-rust2" }
This allows you to switch to
yaml-rust2
while continuing to refer toyaml_rust
in your code (e.g.use yaml_rust::YamlLoader;
will continue to work so that no Rust code changes are required).
I have a direct dependency on config
v0.13 in my project, so I have a transient dependency on yaml-rust
v0.4.5.
I am using cargo deny check advisories
to check for any advisories (including unmaintained advisories) in my CI. Since yaml-rust
is unmaintained, that step in the CI fails.
I want to replace the transient dependency on yaml-rust
with yaml-rust2
v0.7.0
I have tried the following 3 things but they all fail to replace yaml-rust
.
1.
yaml-rust = { version = "0.6", package = "yaml-rust2" }
[patch.'https://github.com/chyh1990/yaml-rust']
yaml-rust2 = { git = 'https://github.com/Ethiraric/yaml-rust2.git' }
[patch.crates-io]
yaml-rust = { git = 'https://github.com/Ethiraric/yaml-rust2.git' }
Am I doing something wrong? My Cargo.toml is here.
Can you open an issue on yaml-rust2 and provide us with the error message that you encounter when trying 1.
?
After adding 1.
to my Cargo.toml and running cargo update
, I don't get any errors, but when I look at the dependency tree, I see yaml-rust
v0.4.5 still and my CI fails still.
Created an issue in yaml-rust2 with more details.