diff --git a/src/sinks/mod.rs b/src/sinks/mod.rs index faae723d..db7719b4 100644 --- a/src/sinks/mod.rs +++ b/src/sinks/mod.rs @@ -3,13 +3,13 @@ use serde::Deserialize; use crate::framework::*; -mod assert; -mod common; -mod file_rotate; -mod noop; -mod stdout; -mod terminal; -mod webhook; +pub mod assert; +pub mod common; +pub mod file_rotate; +pub mod noop; +pub mod stdout; +pub mod terminal; +pub mod webhook; #[cfg(feature = "rabbitmq")] mod rabbitmq; diff --git a/src/sources/n2c.rs b/src/sources/n2c.rs index 39094e06..81a97673 100644 --- a/src/sources/n2c.rs +++ b/src/sources/n2c.rs @@ -195,7 +195,7 @@ impl gasket::framework::Worker for Worker { #[derive(Deserialize)] pub struct Config { - socket_path: PathBuf, + pub socket_path: PathBuf, } impl Config { diff --git a/src/sources/n2n.rs b/src/sources/n2n.rs index 657ab9a8..b1ad7c93 100644 --- a/src/sources/n2n.rs +++ b/src/sources/n2n.rs @@ -220,7 +220,7 @@ impl gasket::framework::Worker for Worker { #[derive(Deserialize)] pub struct Config { - peers: Vec, + pub peers: Vec, } impl Config {