aki-json-pick 0.1.10

The json pick out command.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// build.rs
use rust_version_info_file::rust_version_info_file;

fn main() {
    let path = {
        #[cfg(feature = "debian_build")]
        let dir = "target".to_string();
        #[cfg(not(feature = "debian_build"))]
        let dir = std::env::var("OUT_DIR").unwrap();
        //
        format!("{dir}/rust-version-info.txt")
    };
    rust_version_info_file(path.as_str(), "Cargo.toml");
}