proxmox/proxmox-acme-api/src
Shannon Sterz 115adf42bd acme-api: use inner mutability for ACME_ACME_CONFIG
in edition 2024 references to mutable static will be disallowed [1]. the
recommended way around this is to use types with inner mutability. so
use a `OnceLock` for `ACME_ACME_CONFIG` as the directoryfor ACME
configuration purposes shouldn't change throughout the run time of an
application.

[1]:
https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html

Signed-off-by: Shannon Sterz <s.sterz@proxmox.com>
2024-12-04 09:53:51 +01:00
..
account_api_impl.rs acme-api: adapt to tracing infrastructure 2024-07-11 14:43:37 +02:00
account_config.rs run cargo fmt 2024-06-05 13:31:06 +02:00
acme_plugin.rs run cargo fmt 2024-06-05 13:31:06 +02:00
certificate_helpers.rs acme-api: adapt to tracing infrastructure 2024-07-11 14:43:37 +02:00
challenge_schemas.rs acme-api: remove lazy_static dependency 2024-08-14 10:33:42 +02:00
config.rs acme-api: create all directorties inside init 2024-06-04 12:22:16 +02:00
init.rs acme-api: use inner mutability for ACME_ACME_CONFIG 2024-12-04 09:53:51 +01:00
lib.rs tree-wide: enable doc_cfg and doc_auto_cfg for docs 2024-07-02 11:59:53 +02:00
plugin_api_impl.rs run cargo fmt 2024-06-05 13:31:06 +02:00
plugin_config.rs acme-api: remove lazy_static dependency 2024-08-14 10:33:42 +02:00
types.rs run cargo fmt 2024-06-05 13:31:06 +02:00