{"id":58084,"library":"piston-window","title":"Piston Window","description":"The official Piston Window for the Piston game engine.","status":"active","version":"0.147.0","language":"rust","source_language":null,"source_url":"https://github.com/pistondevelopers/piston_window","tags":["game","engine","window","graphics","piston"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\npiston_window = \"0.147.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add piston_window","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"PistonWindow","correct":"use piston_window::PistonWindow;"}],"quickstart":{"code":"use piston_window::*;\n\nfn main() {\n    let mut window: PistonWindow = WindowSettings::new(\"Hello Piston!\", [640, 480])\n        .exit_on_esc(true)\n        .build()\n        .unwrap();\n    while let Some(event) = window.next() {\n        window.draw_2d(&event, |_c, g, _d| {\n            clear([1.0; 4], g);\n        });\n    }\n}","lang":"rust","description":"Creates a window and runs the event loop."},"warnings":[],"env_vars":null,"search_vec":"'engin':11,13 'game':10,12 'graphic':15 'offici':4 'piston':1,5,9,16 'window':2,6,14","created_at":"2026-06-16T16:10:44.485217+00:00","updated_at":"2026-06-16T16:10:44.485217+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/pistondevelopers/piston_window","github":"https://github.com/pistondevelopers/piston_window","docs":"https://docs.rs/piston_window/","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-16","next_check":"2026-12-13","install_tag":null}}