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

Compile time definition of config-defaults.toml for binary and sample #73

Merged
merged 4 commits into from
Oct 14, 2023
Merged

Compile time definition of config-defaults.toml for binary and sample #73

merged 4 commits into from
Oct 14, 2023

Conversation

FlareFlo
Copy link
Member

Fixes #71

@flamion flamion requested a review from zUnixorn October 14, 2023 21:00
@flamion flamion linked an issue Oct 14, 2023 that may be closed by this pull request
max_json_size_default = 2_097_152 # 2 mebibyte
max_custom_id_length_default = 500
max_uses_default = 0 # unlimited uses
valid_for_duration_default = 604800000 # 7 days
Copy link
Collaborator

Choose a reason for hiding this comment

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

It'd be better if the file ended with a newline

@flamion flamion merged commit 52cecc7 into soft-duck:nächtlich Oct 14, 2023
1 check passed
zUnixorn added a commit that referenced this pull request Oct 15, 2023
zUnixorn pushed a commit that referenced this pull request Oct 15, 2023
* Remove unused binding in endpoint macro

* Simplify get local offset function in util.rs

* Define defaults used in the printed sample config in config-defaults.toml

* Fix bug where string values from the configuration are passed with quotes

* Revert "Revert "Compile time definition of config defaults in separate toml file (#73)""

This reverts commit a057e06
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.

Load config defaults at compile time from other file
2 participants