io-pimdir 0.4.0

Rust implementation of Pimdir standard
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Build script baking feature, target and git metadata into the
//! `pimdir` binary through the pimalaya-cli build helpers.

#[cfg(feature = "cli")]
fn main() {
    use pimalaya_cli::build::{features_env, git_envs, target_envs};

    features_env(include_str!("./Cargo.toml"));
    target_envs();
    git_envs();
}

#[cfg(not(feature = "cli"))]
fn main() {
    // NOTE: nothing to do without the CLI binary.
}