reload destination -> target and module fixes

This commit is contained in:
Robin Appelman 2025-10-31 22:40:04 +01:00
commit 5e5ee227fc
10 changed files with 69 additions and 42 deletions

View file

@ -1,8 +1,8 @@
mod destination;
mod target;
mod name;
mod source;
pub use crate::config::destination::ForwardDestination;
pub use crate::config::target::ForwardTarget;
pub use crate::config::name::NamespaceName;
pub use crate::config::source::ForwardSource;
use serde::Deserialize;
@ -80,7 +80,7 @@ pub struct NamespaceConfig {
#[derive(Deserialize, Debug)]
pub struct ForwardConfig {
pub source: ForwardSource,
pub destination: ForwardDestination,
pub target: ForwardTarget,
}
#[derive(Debug, Error)]