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

Updated version of serde_yaml to 0.9 #2690

Merged
merged 1 commit into from
Oct 4, 2023
Merged

Conversation

Raghav-Bell
Copy link
Contributor

It fixes #2627

Copy link
Collaborator

@keith-hall keith-hall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution!

@@ -23,7 +23,8 @@ fn main() {
}],
};

let bytes = serde_yaml::to_vec(&person).unwrap();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need to change this code? Better keep it as it is to reduce risk IMHO. Or do we have good reason to change it? I seem to be able to build with serde_yaml 0.9 without this change.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

serde_yaml::to_vec() function is deprecated in serde_yaml version 0.9

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, my bad, I missed that this was just changing example code. I can reproduce the build problem when I build this example. Thanks for fixing.

@sharkdp sharkdp merged commit 8e35a56 into sharkdp:master Oct 4, 2023
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

Successfully merging this pull request may close these issues.

Update for serde-yaml 0.9
4 participants