forked from proxmox-mirrors/proxmox
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> |
||
|---|---|---|
| .. | ||
| account_api_impl.rs | ||
| account_config.rs | ||
| acme_plugin.rs | ||
| certificate_helpers.rs | ||
| challenge_schemas.rs | ||
| config.rs | ||
| init.rs | ||
| lib.rs | ||
| plugin_api_impl.rs | ||
| plugin_config.rs | ||
| types.rs | ||