build-script-cfg

Crates.iobuild-script-cfg
lib.rsbuild-script-cfg
version0.0.0
sourcesrc
created_at2024-06-04 09:50:28.934641
updated_at2024-06-04 09:50:28.934641
descriptionConfigure and set cfg flags in build scripts.
homepage
repositoryhttps://github.com/YdrMaster/build-script-cfg.git
max_upload_size
id1260937
size5,880
Derui Yang (YdrMaster)

documentation

https://docs.rs/build-script-cfg

README

buil-script-cfg

CI Latest version Documentation license GitHub repo size GitHub code size in bytes

GitHub Issues GitHub Pull Requests GitHub contributors GitHub commit activity

Configure and set cfg flags in build scripts.

Usage

let cfg = Cfg::new("cfg");
if some_condition {
    cfg.define();
}
Commit count: 1

cargo fmt