yaml-rust icon indicating copy to clipboard operation
yaml-rust copied to clipboard

Maintainers

Open hcldan opened this issue 2 years ago • 8 comments

@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?

hcldan avatar Oct 12 '22 16:10 hcldan

Duplicate of #160.

neithernut avatar Oct 12 '22 20:10 neithernut

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 avatar Jan 28 '24 20:01 davvid

@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 avatar Feb 02 '24 15:02 hcldan

@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.

davvid avatar Feb 03 '24 06:02 davvid

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).

davvid avatar Mar 20 '24 07:03 davvid

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 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).

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.

tahaafzal5 avatar May 18 '24 00:05 tahaafzal5

Can you open an issue on yaml-rust2 and provide us with the error message that you encounter when trying 1.?

Ethiraric avatar May 18 '24 02:05 Ethiraric

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.

tahaafzal5 avatar May 18 '24 05:05 tahaafzal5