1 unstable release

0.1.0 Apr 27, 2023

#476 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

~2.2–9.5MB
~95K SLoC