From f196208c9b0b224269370ee55fb7a85c71c8e5f3 Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 23 Feb 2024 05:40:35 +0800 Subject: [PATCH] chore: print feature --- src/application.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/application.rs b/src/application.rs index 40bd5eea..59d4f6bf 100644 --- a/src/application.rs +++ b/src/application.rs @@ -150,6 +150,11 @@ fn get_certificate_and_server_key(config: &Config) -> Option<(Secret, Se } pub async fn init_state(config: &Config) -> Result { + // Print the feature flags + if cfg!(feature = "disable_access_control") { + info!("Access control is disabled"); + } + let metrics = AppMetrics::new(); // Postgres