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

Maintainers #192

Open
hcldan opened this issue Oct 12, 2022 · 8 comments
Open

Maintainers #192

hcldan opened this issue Oct 12, 2022 · 8 comments

Comments

@hcldan
Copy link

hcldan commented Oct 12, 2022

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

@neithernut
Copy link

Duplicate of #160.

@davvid
Copy link

davvid commented Jan 28, 2024

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.

@hcldan
Copy link
Author

hcldan commented Feb 2, 2024

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

@davvid
Copy link

davvid commented Feb 3, 2024

@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
Copy link

davvid commented Mar 20, 2024

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

@tahaafzal5
Copy link

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.

@Ethiraric
Copy link

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

@tahaafzal5
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants