An open API service indexing awesome lists of open source software.

https://github.com/InfiniTensor/build-script-cfg

Configure and set cfg flags in build scripts.
https://github.com/InfiniTensor/build-script-cfg

Last synced: 8 months ago
JSON representation

Configure and set cfg flags in build scripts.

Awesome Lists containing this project

README

          

# build-script-cfg

[![CI](https://github.com/InfiniTensor/build-script-cfg/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/InfiniTensor/build-script-cfg/actions)
[![Latest version](https://img.shields.io/crates/v/build-script-cfg.svg)](https://crates.io/crates/build-script-cfg)
[![Documentation](https://docs.rs/build-script-cfg/badge.svg)](https://docs.rs/build-script-cfg)
[![license](https://img.shields.io/github/license/InfiniTensor/build-script-cfg)](https://mit-license.org/)
![GitHub repo size](https://img.shields.io/github/repo-size/InfiniTensor/build-script-cfg)
![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/InfiniTensor/build-script-cfg)

[![GitHub Issues](https://img.shields.io/github/issues/InfiniTensor/build-script-cfg)](https://github.com/InfiniTensor/build-script-cfg/issues)
[![GitHub Pull Requests](https://img.shields.io/github/issues-pr/InfiniTensor/build-script-cfg)](https://github.com/InfiniTensor/build-script-cfg/pulls)
![GitHub contributors](https://img.shields.io/github/contributors/InfiniTensor/build-script-cfg)
![GitHub commit activity](https://img.shields.io/github/commit-activity/m/InfiniTensor/build-script-cfg)

Configure and set cfg flags in build scripts.

## Usage

```rust,ignore
let cfg = Cfg::new("cfg");
if some_condition {
cfg.define();
}
```