{"id":67470,"library":"target-spec","title":"Target Spec","description":"Evaluate Cargo.toml target specifications.","status":"active","version":"3.6.0","language":"rust","source_language":null,"source_url":"https://github.com/guppy-rs/guppy","tags":["cargo","target","specification","evaluation","build"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ntarget-spec = \"3.6.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add target-spec","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"TargetSpec","correct":"use target_spec::TargetSpec;"}],"quickstart":{"code":"use target_spec::TargetSpec;\n\nfn main() {\n    let spec = TargetSpec::new(\"cfg(target_os = \\\"linux\\\")\");\n    println!(\"{:?}\", spec);\n}","lang":"rust","description":"Parses and evaluates a target specification string."},"warnings":[],"env_vars":null,"search_vec":"'build':11 'cargo':7 'cargo.toml':4 'evalu':3,10 'spec':2 'specif':6,9 'target':1,5,8","created_at":"2026-06-17T17:37:42.292444+00:00","updated_at":"2026-06-17T17:37:42.292444+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/guppy-rs/guppy","github":"https://github.com/guppy-rs/guppy","docs":"https://docs.rs/target-spec/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["build-tool"],"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}}