{"id":70138,"library":"syn-path","title":"Syn Path","description":"A simple macro to declare a syn::Path at compile time.","status":"active","version":"2.1.0","language":"rust","source_language":null,"source_url":"https://codeberg.org/msrd0/syn-path","tags":["syn","macro","compile-time","path"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nsyn-path = \"2.1.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add syn-path","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"syn_path","correct":"use syn_path::syn_path;"}],"quickstart":{"code":"use syn_path::syn_path;\nuse syn::Path;\n\nfn main() {\n    let path: Path = syn_path!(std::collections::HashMap);\n    println!(\"{:?}\", path);\n}","lang":"rust","description":"Creates a syn::Path from a path expression at compile time."},"warnings":[],"env_vars":null,"search_vec":"'compil':12,17 'compile-tim':16 'declar':7 'macro':5,15 'path':2,10,19 'simpl':4 'syn':1,9,14 'time':13,18","created_at":"2026-06-17T18:10:21.531612+00:00","updated_at":"2026-06-17T18:10:21.531612+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://codeberg.org/msrd0/syn-path","github":null,"docs":"https://docs.rs/syn-path/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["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}}