♻️ Move git_version into relay

main
_ 2020-11-26 23:53:03 +00:00
parent a6ecb1c6a8
commit 64a0d90762
4 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ async fn main () -> Result <(), Box <dyn Error>> {
let config_path = PathBuf::from ("config/ptth_relay.toml");
let config = Config::from_file (&config_path).await?;
info! ("ptth_relay Git version: {:?}", ptth::git_version::GIT_VERSION);
info! ("ptth_relay Git version: {:?}", ptth::relay::git_version::GIT_VERSION);
let (shutdown_rx, forced_shutdown) = ptth::graceful_shutdown::init_with_force ();

View File

@ -5,7 +5,6 @@
pub const PTTH_MAGIC_HEADER: &str = "X-PTTH-2LJYXWC4";
pub mod git_version;
pub mod graceful_shutdown;
pub mod http_serde;
pub mod prelude;

View File

@ -51,6 +51,7 @@ use crate::{
};
pub mod config;
pub mod git_version;
pub use config::{Config, ConfigError};