diff --git a/Cargo.toml b/Cargo.toml index 4529b7b..c6552ea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -55,6 +55,7 @@ enum-map = "~2.0.1" futures-timer = "3.0.2" hostname = "0.3.1" ipnet = "2.3.1" +libc = "0.2.146" log = "0.4.14" murmur3 = "0.5.1" rand = "0.8.4" diff --git a/src/version.rs b/src/version.rs index faf3af0..0462a2d 100644 --- a/src/version.rs +++ b/src/version.rs @@ -1,7 +1,7 @@ use std::env; // include version into the binary at compile time -pub fn get_sdk_version() -> &'static str { +pub(crate) fn get_sdk_version() -> &'static str { concat!("unleash-client-rust:", env!("CARGO_PKG_VERSION")) }