{"id":70449,"library":"rustc-cfg","title":"rustc-cfg","description":"Runs `rustc --print cfg` and parses the output.","status":"active","version":"0.5.0","language":"rust","source_language":null,"source_url":"https://github.com/japaric/rustc-cfg","tags":["rustc","cfg","configuration","build"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nrustc-cfg = \"0.5.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add rustc-cfg","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Cfg","correct":"use rustc_cfg::Cfg;"}],"quickstart":{"code":"use rustc_cfg::Cfg;\n\nfn main() {\n    let cfg = Cfg::new();\n    println!(\"{:?}\", cfg);\n}","lang":"rust","description":"Parse rustc configuration."},"warnings":[],"env_vars":null,"search_vec":"'build':15 'cfg':3,7,13 'configur':14 'output':11 'pars':9 'print':6 'run':4 'rustc':2,5,12 'rustc-cfg':1","created_at":"2026-06-17T18:14:13.476443+00:00","updated_at":"2026-06-17T18:14:13.476443+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/japaric/rustc-cfg","github":"https://github.com/japaric/rustc-cfg","docs":"https://docs.rs/rustc-cfg/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["build-tool","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}