mc-build-rs

Crates.iomc-build-rs
lib.rsmc-build-rs
version0.1.0
sourcesrc
created_at2023-04-27 21:25:58.892281
updated_at2023-04-27 21:25:58.892281
descriptionCargo build script helper
homepage
repositoryhttps://github.com/mobilecoinfoundation/build-rs
max_upload_size
id850923
size102,309
Eran Rundstein (eranrund)

documentation

README

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");
Commit count: 34

cargo fmt