-
Notifications
You must be signed in to change notification settings - Fork 144
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: replace yaml-rust with actively maintained yaml-rust2 #538
Conversation
Update: I was wrong it is in fact used 👍 |
Cargo.toml
Outdated
@@ -18,7 +18,7 @@ exclude = [ | |||
] | |||
|
|||
[dependencies] | |||
yaml-rust = { version = "0.4.5", optional = true } | |||
yaml-rust = { version = "0.4.5", optional = true, crate = "yaml-rust2" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you point me to documentation on this property please? I can't find it at https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like it does not work. CI says: warning: unused manifest key: dependencies.yaml-rust.crate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we can use one of the other PRs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have made a mistake in the PR
the key this PR is attempting to use is called package
not crate
, my apologies.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No worries, I think we should use #544 though, it looks similar to the first PR to change to yaml2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Closing as #544 does the fix in a better fashion |
It would be worth investigating if the dependency is required at all, this simply replaces it with the
crate
key in theCargo.toml
withyaml-rust2
.TODO: update changelog when everything is sorted out 👍