diff --git a/server/src/config.rs b/server/src/config.rs index 0792618..16c125e 100644 --- a/server/src/config.rs +++ b/server/src/config.rs @@ -353,7 +353,10 @@ impl Config { #[cfg(feature = "yaml")] ConfigFormat::Yaml => serde_yaml::from_str(&string)?, #[cfg(not(any(feature = "toml", feature = "json", feature = "yaml")))] - ConfigFormat::None => { let _ = string; Self::default() }, + ConfigFormat::None => { + let _ = string; + Self::default() + } }) } } diff --git a/server/src/handle/mod.rs b/server/src/handle/mod.rs index a01971a..2ad7f43 100644 --- a/server/src/handle/mod.rs +++ b/server/src/handle/mod.rs @@ -1,7 +1,7 @@ -mod wisp; -mod wsproxy; #[cfg(feature = "twisp")] pub mod twisp; +mod wisp; +mod wsproxy; pub use wisp::handle_wisp; pub use wsproxy::handle_wsproxy;