Crates.io | mc-build-rs |
lib.rs | mc-build-rs |
version | 0.1.0 |
source | src |
created_at | 2023-04-27 21:25:58.892281 |
updated_at | 2023-04-27 21:25:58.892281 |
description | Cargo build script helper |
homepage | |
repository | https://github.com/mobilecoinfoundation/build-rs |
max_upload_size | |
id | 850923 |
size | 102,309 |
Cargo build-script assistance, from MobileCoin.
This crate provides a programmatic API for dealing with the various strings passed into build scripts via environment variables.
use mc_build_rs::Environment;
let env = Environment::new().expect("Could not parse environment");
assert_eq!(env.name(), "mc_build_rs");