An open API service indexing awesome lists of open source software.

https://github.com/seanpray/embedded-version

embed version number into bin
https://github.com/seanpray/embedded-version

Last synced: about 1 month ago
JSON representation

embed version number into bin

Awesome Lists containing this project

README

        

add in main.rs (toplevel)
```
include!(concat!(env!("OUT_DIR"), "/version.rs"));
```

add to build.rs
```
fn main() {
embedded_version::version().expect("Failed to write version.rs file");
}
```