Commit graph

13 commits

Author SHA1 Message Date
Alex 71bfd5be2d Remove ACME config, not used as we are doing ACME in Tricot now
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2023-04-05 09:50:26 +02:00
Alex c356c4d1c4 IPv6-only mode
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2023-04-05 09:47:58 +02:00
Alex f410230240 parse private_ip earlier
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-04-04 19:06:33 +02:00
Alex b3f76f272a Remove .rustfmt.toml and move to standard rustfmt format (4 spaces)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2023-04-04 18:48:52 +02:00
Alex 2d39adcabb cargo fmt
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-04-04 18:48:10 +02:00
Alex 615f926618 Add STUN actor that saves autodiscovered IPv4/IPv6 to Consul
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2023-04-04 18:46:14 +02:00
Alex e7f6c15bc1
Add possibility to skip tls verification for consul
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
2022-08-24 18:22:00 +02:00
Alex 04bdd029fe
Add TLS support for Consul 2021-12-30 20:42:56 +01:00
Alex 3b9e75634a
Allow Diplonat to automatically detect it's private IP 2021-12-25 19:23:18 +01:00
Quentin 7d478d9976
Stricter Rust formating rules and build in the CI
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-09-20 15:13:16 +02:00
adrien f720070905 added rustfmt: a rustfmt.toml file diescribing syntax (soft tabs of 2 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
Some checks failed
continuous-integration/drone/pr Build is failing
2021-09-11 16:34:03 +02:00
LUXEY Adrien 644e707956 environment.rs successfully replaced with new config/ configuration loader. No API changes, more tests, cleaner code: life is swell. 2021-08-16 11:19:16 +02:00
LUXEY Adrien ae9550ce23 New configuration parsing using envy. Added minimal functionnality for
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
2021-08-16 10:26:06 +02:00