aboutsummaryrefslogtreecommitdiff
path: root/src/config
Commit message (Collapse)AuthorAgeFilesLines
* Allow Diplonat to automatically detect it's private IPAlex Auvolat2021-12-252-7/+7
|
* Stricter Rust formating rules and build in the CIQuentin Dufour2021-09-203-13/+11
|
* added rustfmt: a rustfmt.toml file diescribing syntax (soft tabs of 2 ↵adrien2021-09-114-204/+215
| | | | spaces), a CONTRIBUTING.md file to explain how to use rustfmt, a .drone.yml file to add code style checks in CI, 2 lines in README.md to present CONTRIBUTING.md, and applied rustfmt on the source
* a last pass to remove warnings from my codeLUXEY Adrien2021-08-162-3/+6
|
* environment.rs successfully replaced with new config/ configuration loader. ↵LUXEY Adrien2021-08-162-7/+15
| | | | No API changes, more tests, cleaner code: life is swell.
* New configuration parsing using envy. Added minimal functionnality forLUXEY Adrien2021-08-164-0/+317
the future ACME parameters. Tests written and passing. WIP: added envy dependncy and ConfigOpts structs that will constitute Diplonat's configuration WIP: ConfigOpts from_env() and validate() methods written. No API change (the env names remain unchanged)! Now need to use our new ConfigOpts struct instead of Environment, and update references to the environment variables in the code. WIP: RuntimeConfig with business logic done. Tests written, but they are all running from the same process - setting environment variables in each test produces incoherent results. Another solution for testing is needed. WIP: tests are fully written using 'from_iter' and all passing