♻️ Move git_version into relay
parent
a6ecb1c6a8
commit
64a0d90762
|
@ -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 ();
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -51,6 +51,7 @@ use crate::{
|
|||
};
|
||||
|
||||
pub mod config;
|
||||
pub mod git_version;
|
||||
|
||||
pub use config::{Config, ConfigError};
|
||||
|
||||
|
|
Loading…
Reference in New Issue