{"id":24756331,"url":"https://github.com/dalance/cc-version","last_synced_at":"2026-05-30T22:31:20.919Z","repository":{"id":52400596,"uuid":"284608374","full_name":"dalance/cc-version","owner":"dalance","description":"gcc version detection for build.rs","archived":false,"fork":false,"pushed_at":"2024-11-07T00:57:05.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-06T15:52:53.642Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dalance.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"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},"funding":{"github":"dalance"}},"created_at":"2020-08-03T05:07:29.000Z","updated_at":"2024-11-07T00:57:03.000Z","dependencies_parsed_at":"2025-01-28T13:51:05.205Z","dependency_job_id":"6da004a3-65db-4d46-990f-420d84f8ca84","html_url":"https://github.com/dalance/cc-version","commit_stats":null,"previous_names":["dalance/gcc-version"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dalance/cc-version","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalance%2Fcc-version","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalance%2Fcc-version/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalance%2Fcc-version/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalance%2Fcc-version/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dalance","download_url":"https://codeload.github.com/dalance/cc-version/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalance%2Fcc-version/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33712579,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-01-28T13:50:52.304Z","updated_at":"2026-05-30T22:31:20.901Z","avatar_url":"https://github.com/dalance.png","language":"Rust","funding_links":["https://github.com/sponsors/dalance"],"categories":[],"sub_categories":[],"readme":"# cc-version\ncc version detection for build.rs\n\n[![Actions Status](https://github.com/dalance/cc-version/workflows/Regression/badge.svg)](https://github.com/dalance/cc-version/actions)\n[![Crates.io](https://img.shields.io/crates/v/cc-version.svg)](https://crates.io/crates/cc-version)\n[![Docs.rs](https://docs.rs/cc-version/badge.svg)](https://docs.rs/cc-version)\n\n## Usage\n\n```Cargo.toml\n[build-dependencies]\ncc-version = \"0.1.0\"\n```\n\n## Example\n\n```rust\nuse cc_version::cc_version;\n\nfn main() {\n    let builder = cc::Build::new();\n    let tool = builder.get_compiler();\n    let version = cc_version(\u0026tool).unwrap();\n    println!(\"cargo:warning=cc version {} is detected.\", version);\n}\n```\n\n## License\n\nLicensed under either of\n\n * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally\nsubmitted for inclusion in the work by you, as defined in the Apache-2.0\nlicense, shall be dual licensed as above, without any additional terms or\nconditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdalance%2Fcc-version","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdalance%2Fcc-version","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdalance%2Fcc-version/lists"}