ptth/crates/ptth_relay/src/git_version.rs

4 lines
103 B
Rust

pub async fn read () -> Option <String> {
tokio::fs::read_to_string ("git_version.txt").await.ok ()
}