{"id":16760180,"url":"https://github.com/maulingmonkey/hwnd","last_synced_at":"2025-04-10T17:37:11.451Z","repository":{"id":215310218,"uuid":"459335213","full_name":"MaulingMonkey/hwnd","owner":"MaulingMonkey","description":"Well documented, safe-leaning, sound, low-level API bindings to HWND-adjacent APIs.","archived":false,"fork":false,"pushed_at":"2024-01-15T00:45:27.000Z","size":238,"stargazers_count":2,"open_issues_count":7,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T15:11:23.809Z","etag":null,"topics":["hwnd","rust","win32","windowing"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MaulingMonkey.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-14T21:44:10.000Z","updated_at":"2024-01-21T05:27:56.000Z","dependencies_parsed_at":"2025-02-17T17:46:14.727Z","dependency_job_id":null,"html_url":"https://github.com/MaulingMonkey/hwnd","commit_stats":null,"previous_names":["maulingmonkey/hwnd"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaulingMonkey%2Fhwnd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaulingMonkey%2Fhwnd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaulingMonkey%2Fhwnd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaulingMonkey%2Fhwnd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MaulingMonkey","download_url":"https://codeload.github.com/MaulingMonkey/hwnd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248262041,"owners_count":21074236,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hwnd","rust","win32","windowing"],"created_at":"2024-10-13T04:22:38.568Z","updated_at":"2025-04-10T17:37:11.431Z","avatar_url":"https://github.com/MaulingMonkey.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"Well documented, safe-leaning, sound, low-level API bindings to `HWND`-adjacent APIs.\n\n[![GitHub](https://img.shields.io/github/stars/MaulingMonkey/hwnd.svg?label=GitHub\u0026style=social)](https://github.com/MaulingMonkey/hwnd)\n[![crates.io](https://img.shields.io/crates/v/hwnd.svg)](https://crates.io/crates/hwnd)\n[![docs.rs](https://docs.rs/hwnd/badge.svg)](https://docs.rs/hwnd)\n[![License](https://img.shields.io/crates/l/hwnd.svg)](https://github.com/MaulingMonkey/hwnd)\n[![Build Status](https://github.com/MaulingMonkey/hwnd/workflows/Rust/badge.svg)](https://github.com/MaulingMonkey/hwnd/actions?query=workflow%3Arust)\n\n\n\n## Raison d'être\n\nIntended use cases include:\n*   Building block for higher level APIs.\n*   Interop with existing win32-consuming C or C++ codebases (incrementally RIIRing?)\n*   Direct use for cases where extra abstraction / higher level APIs are overkill.\n\nGoals to service these use cases, in order of priority, are:\n\n0.  APIs should be as *sound* as possible.\n    *   Spam unit tests and/or doc-tests to try to break safe APIs.\n    *   Thorough safety documentation of any fns or traits that must remain `unsafe`.\n1.  Keep a 1:1 mapping to raw windows types and APIs as much as possible.\n    *   Maximum interoperability with existing C or C++ codebases.\n    *   Avoids infinite yak shaving.\n    *   Additional error checking / debug spam is generally discouraged to avoid suprising RIIRers with new edge cases, except to avoid soundness issues.\n2.  Make APIs as safe as possible.\n    *   Some `unsafe` will generally still be required to implement said APIs.\n    *   Eliminating `unsafe` for perfectly sound APIs will make auditing the remaining `unsafe` code easier.\n3.  Provide excellent documentation.\n    *   Rust specific examples for everything.\n    *   Thoroughly document edge cases, error codes, etc.\n    *   Aiming to be even better than MSDN.\n\n\n\n\u003ch2 name=\"license\"\u003eLicense\u003c/h2\u003e\n\nLicensed under either of\n\n* Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or \u003chttp://www.apache.org/licenses/LICENSE-2.0\u003e)\n* MIT license ([LICENSE-MIT](LICENSE-MIT) or \u003chttp://opensource.org/licenses/MIT\u003e)\n\nat your option.\n\n\n\n\u003ch2 name=\"contribution\"\u003eContribution\u003c/h2\u003e\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaulingmonkey%2Fhwnd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaulingmonkey%2Fhwnd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaulingmonkey%2Fhwnd/lists"}