Skip to content

Commit

Permalink
chore: make module pub crate
Browse files Browse the repository at this point in the history
  • Loading branch information
kwasniew committed Jan 30, 2025
1 parent 9f1099e commit 26c8e50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/version.rs
Original file line number Diff line number Diff line change
@@ -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"))
}

Expand Down

0 comments on commit 26c8e50

Please sign in to comment.