Skip to content

Latest commit

 

History

History
39 lines (33 loc) · 2.02 KB

README.md

File metadata and controls

39 lines (33 loc) · 2.02 KB

MobileCoin build-script helper

Project ChatLicenseArchitecture: anyCrates.ioDocs StatusDependency StatusCodeCov StatusGitHub Workflow StatusContributor Covenant

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");