{"id":57574,"library":"prettyplease","title":"Prettyplease","description":"A minimal syn syntax tree pretty-printer for formatting Rust code.","status":"active","version":"0.2.37","language":"rust","source_language":null,"source_url":"https://github.com/dtolnay/prettyplease","tags":["formatting","syn","pretty-print","code-generation"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nprettyplease = \"0.2.37\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add prettyplease","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"unparse","correct":"use prettyplease::unparse;"}],"quickstart":{"code":"use prettyplease::unparse;\nuse syn::parse_quote;\n\nlet file: syn::File = parse_quote! {\n    fn main() { println!(\"hello\"); }\n};\nlet formatted = unparse(&file);\nprintln!(\"{}\", formatted);","lang":"rust","description":"Format a syn syntax tree into pretty Rust code."},"warnings":[],"env_vars":null,"search_vec":"'code':13,20 'code-gener':19 'format':11,14 'generat':21 'minim':3 'pretti':8,17 'pretty-print':7,16 'prettypleas':1 'print':18 'printer':9 'rust':12 'syn':4,15 'syntax':5 'tree':6","created_at":"2026-06-16T15:49:17.751015+00:00","updated_at":"2026-06-16T15:49:17.751015+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/dtolnay/prettyplease","github":"https://github.com/dtolnay/prettyplease","docs":"https://docs.rs/prettyplease/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility","build-tool"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}