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

Set configuration dynamically #13

Open
obraunsdorf opened this issue Jul 28, 2019 · 1 comment
Open

Set configuration dynamically #13

obraunsdorf opened this issue Jul 28, 2019 · 1 comment

Comments

@obraunsdorf
Copy link
Owner

Currently all fields in src/util/pbcConfig.h are hard-coded.
It would improve usability, if the configurable values could be set by the user through the GUI and saved across executions.

@obraunsdorf
Copy link
Owner Author

I thought about the following solution to this:

  1. Draft a TOML[1] or JSON[2] file syntax to map to all configurable fields of pbcConfig.h
  2. Add GUI options to save and load the current configuration to/from File

I experimented with implementing this in Rust but have not come far due to time limitations. Help would be very appreciated :)
I could push my current working branch for this which already implements Rust bindingst to a new PBCRustConfig.

[1] https://de.wikipedia.org/wiki/TOML
[2] https://de.wikipedia.org/wiki/JavaScript_Object_Notation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant