]> git.proxmox.com Git - proxmox.git/commitdiff
notify: expose `config` module
authorLukas Wagner <l.wagner@proxmox.com>
Tue, 23 Apr 2024 11:51:47 +0000 (13:51 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 23 Apr 2024 21:06:56 +0000 (23:06 +0200)
This is needed because we want to access CONFIG and PRIVATE_CONFIG
from the docgen helper in PBS.

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
Tested-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
proxmox-notify/src/lib.rs

index 292396bc736ff5fdda4e2af457fbe06a6706ec85..f9917d9fbabbd476d435e0e7baf84537899609b4 100644 (file)
@@ -18,14 +18,13 @@ use matcher::{MatcherConfig, MATCHER_TYPENAME};
 
 pub mod api;
 pub mod context;
+pub mod config;
 pub mod endpoints;
 pub mod filter;
 pub mod group;
 pub mod renderer;
 pub mod schema;
 
-mod config;
-
 #[derive(Debug)]
 pub enum Error {
     /// There was an error serializing the config