Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/enyium/windows-helpers-rs

Helpers for the windows crate for a bit easier and rustier development
https://github.com/enyium/windows-helpers-rs

Last synced: about 1 month ago
JSON representation

Helpers for the windows crate for a bit easier and rustier development

Awesome Lists containing this project

README

        

[crates.io](https://crates.io/crates/windows-helpers)

A library crate to make working with the [`windows` crate](https://crates.io/crates/windows) a bit easier and more pleasant:

- Among other things, it provides methods for conversion of return values into `windows::core::Result`, `ResGuard` to auto-free on drop, `dual_call()` to simplify two-step calls, and bit manipulation functions.
- The `win32_app` module helps quickly getting a simple app off the ground to allow message receiving and tray icons, e.g.

# Feature Requirements

If not instructed to activate more specific features, activate at least the feature that specifies the `windows` crate version you depend on - up until the first non-zero part. An example would be the feature name `windows_v0_52`. Not every version is already available (see [`Cargo.toml`](Cargo.toml) to get an idea of the feature name concept, although not every feature is for public consumption).

If more specific features are needed, their names are specifically specified or built from the previously described feature name, the infix `f` for "feature" and a `windows` crate feature. Example: `windows_v0_52_f_Win32_Foundation`. The `windows` crate features needed depend on the types used and their modules. Note that the `windows` crate may move types to other modules, while the online documentation only reflects the newest crate structure.

# License

Licensed under either of

* Apache License, Version 2.0
([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license
([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)

at your option.

# Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.