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

how could i build config from str? #71

Closed
woodgear opened this issue Jul 23, 2018 · 1 comment
Closed

how could i build config from str? #71

woodgear opened this issue Jul 23, 2018 · 1 comment

Comments

@woodgear
Copy link

woodgear commented Jul 23, 2018

in the pre version it has method config_from_str. but i could not find that now how could i init config from str?

@sfackler
Copy link
Collaborator

You can use serde to deserialize the str to a RawConfig, and then build a configuration using that.

We should provide some explicit documentation/make this easier though!

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

2 participants