{"id":26677361,"url":"https://github.com/infinitensor/build-script-cfg","last_synced_at":"2026-02-15T14:38:47.014Z","repository":{"id":242664418,"uuid":"810222361","full_name":"InfiniTensor/build-script-cfg","owner":"InfiniTensor","description":"Configure and set cfg flags in build scripts.","archived":false,"fork":false,"pushed_at":"2025-02-23T11:23:38.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T04:27:44.505Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/InfiniTensor.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-04T09:29:05.000Z","updated_at":"2025-02-23T10:30:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"0d779981-38f1-4d0a-900b-7e2f528b0738","html_url":"https://github.com/InfiniTensor/build-script-cfg","commit_stats":null,"previous_names":["ydrmaster/build-script-cfg","infinitensor/build-script-cfg"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InfiniTensor%2Fbuild-script-cfg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InfiniTensor%2Fbuild-script-cfg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InfiniTensor%2Fbuild-script-cfg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InfiniTensor%2Fbuild-script-cfg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/InfiniTensor","download_url":"https://codeload.github.com/InfiniTensor/build-script-cfg/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248546423,"owners_count":21122314,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-26T04:27:25.818Z","updated_at":"2026-02-15T14:38:46.984Z","avatar_url":"https://github.com/InfiniTensor.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# build-script-cfg\n\n[![CI](https://github.com/InfiniTensor/build-script-cfg/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/InfiniTensor/build-script-cfg/actions)\n[![Latest version](https://img.shields.io/crates/v/build-script-cfg.svg)](https://crates.io/crates/build-script-cfg)\n[![Documentation](https://docs.rs/build-script-cfg/badge.svg)](https://docs.rs/build-script-cfg)\n[![license](https://img.shields.io/github/license/InfiniTensor/build-script-cfg)](https://mit-license.org/)\n![GitHub repo size](https://img.shields.io/github/repo-size/InfiniTensor/build-script-cfg)\n![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/InfiniTensor/build-script-cfg)\n\n[![GitHub Issues](https://img.shields.io/github/issues/InfiniTensor/build-script-cfg)](https://github.com/InfiniTensor/build-script-cfg/issues)\n[![GitHub Pull Requests](https://img.shields.io/github/issues-pr/InfiniTensor/build-script-cfg)](https://github.com/InfiniTensor/build-script-cfg/pulls)\n![GitHub contributors](https://img.shields.io/github/contributors/InfiniTensor/build-script-cfg)\n![GitHub commit activity](https://img.shields.io/github/commit-activity/m/InfiniTensor/build-script-cfg)\n\nConfigure and set cfg flags in build scripts.\n\n## Usage\n\n```rust,ignore\nlet cfg = Cfg::new(\"cfg\");\nif some_condition {\n    cfg.define();\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfinitensor%2Fbuild-script-cfg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfinitensor%2Fbuild-script-cfg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfinitensor%2Fbuild-script-cfg/lists"}