{"id":64347,"library":"piet-common","title":"Piet Common","description":"Selection of a single preferred backend for Piet, a 2D graphics abstraction library.","status":"active","version":"0.8.0","language":"rust","source_language":null,"source_url":"https://github.com/linebender/piet","tags":["2d-graphics","backend","abstraction","rendering"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\npiet-common = \"0.8.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add piet-common","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"RenderContext","correct":"use piet_common::RenderContext;"}],"quickstart":{"code":"use piet_common::RenderContext;\n\nfn main() {\n    // Example usage requires a backend; see piet documentation.\n    println!(\"Piet common backend selected\");\n}","lang":"rust","description":"Minimal example showing import of the primary trait."},"warnings":[],"env_vars":null,"search_vec":"'2d':12,17 '2d-graphics':16 'abstract':14,20 'backend':8,19 'common':2 'graphic':13,18 'librari':15 'piet':1,10 'prefer':7 'render':21 'select':3 'singl':6","created_at":"2026-06-17T16:55:08.242055+00:00","updated_at":"2026-06-17T16:55:08.242055+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/linebender/piet","github":"https://github.com/linebender/piet","docs":"https://docs.rs/piet-common/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"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}}