move tests

This commit is contained in:
Love 2024-07-25 21:20:05 +02:00
parent 1cd57845a1
commit 60bdb83b6b
3 changed files with 3 additions and 7 deletions

View File

@ -2,18 +2,16 @@
mod config; mod config;
mod exit_listener; mod exit_listener;
mod internet;
mod logging; mod logging;
mod message_handler; mod message_handler;
mod network_change_listener; mod network_change_listener;
mod public_ip; mod public_ip;
pub mod utils; pub mod utils;
mod tests;
mod internet;
pub use internet::CloudflareClient;
pub use config::{get_config_path, read_config, Config}; pub use config::{get_config_path, read_config, Config};
pub use exit_listener::ExitListener; pub use exit_listener::ExitListener;
pub use internet::CloudflareClient;
pub use logging::init_logger; pub use logging::init_logger;
pub use message_handler::MessageHandler; pub use message_handler::MessageHandler;
pub use network_change_listener::NetworkChangeListener; pub use network_change_listener::NetworkChangeListener;

View File

@ -1,2 +0,0 @@
#[cfg(test)]
mod config_serialization;

View File

@ -1,4 +1,4 @@
use crate::Config; use dynip_cloudflare::Config;
use std::time::Duration; use std::time::Duration;
use toml; use toml;