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

Parse Config from toml::Table Directly #12

Open
bh2smith opened this issue Sep 25, 2023 · 0 comments
Open

Parse Config from toml::Table Directly #12

bh2smith opened this issue Sep 25, 2023 · 0 comments
Labels
good first issue Good for newcomers todo

Comments

@bh2smith
Copy link
Collaborator

bh2smith commented Sep 25, 2023

In #11 we introduced a somewhat hacky serialize-deserialize implementation where were we go

String -> toml::Table -> String -> Config

but we should be able to go straight from Table to Config with try_into

https://users.rust-lang.org/t/how-to-parse-toml-table-into-a-struct/88139/2

Pointed out here: #11 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers todo
Projects
None yet
Development

No branches or pull requests

1 participant