diff --git a/radicle-node/Cargo.toml b/radicle-node/Cargo.toml index e493a2ec..f8526ba1 100644 --- a/radicle-node/Cargo.toml +++ b/radicle-node/Cargo.toml @@ -4,6 +4,7 @@ license = "MIT OR Apache-2.0" version = "0.2.0" authors = ["Alexis Sellier "] edition = "2021" +build = "../build.rs" [features] test = ["radicle/test", "radicle-crypto/test", "radicle-crypto/cyphernet", "qcheck", "snapbox"] diff --git a/radicle-node/src/main.rs b/radicle-node/src/main.rs index 1a7ce545..55774f16 100644 --- a/radicle-node/src/main.rs +++ b/radicle-node/src/main.rs @@ -125,6 +125,7 @@ fn execute() -> anyhow::Result<()> { logger::init(log::Level::Debug)?; log::info!(target: "node", "Starting node.."); + log::info!(target: "node", "Version {} ({})", env!("CARGO_PKG_VERSION"), env!("GIT_HEAD")); let options = Options::from_env()?; let home = profile::home()?;