1 unstable release

0.1.0 Apr 27, 2023

#394 in Build Utils

Apache-2.0

62KB
1.5K SLoC

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

Dependencies

~1.8–2.8MB
~81K SLoC