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

Deprecate Setting FromStr along with YAML #3111

Merged
merged 2 commits into from Dec 9, 2021
Merged

Deprecate Setting FromStr along with YAML #3111

merged 2 commits into from Dec 9, 2021

Conversation

epage
Copy link
Member

@epage epage commented Dec 9, 2021

This is part of the deserialization logic on top of the builder that #3087 is targeted at.

This does involve a breaking change during the RC period (moving FromStr to the yaml feature) but it seems like a small enough case to be acceptable.

These exist pretty much just for YAML (clap-rs#3087).  If anyone else is
building on these, it has a limited shelf-life anyways because of clap-rs#2717.

BREAKING CHANGE: `FromStr` for settings requires the `yaml` feature.
@pksunkara
Copy link
Member

pksunkara commented Dec 9, 2021

I am not sure about the reason behind the change. Can you please expand on that a bit?

Oh nvm. Yeah. We don't want FromStr for Settings.

@epage epage merged commit 587e58d into clap-rs:master Dec 9, 2021
@epage epage deleted the from branch December 9, 2021 15:48
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.

None yet

2 participants