Crates.io | wnf |
lib.rs | wnf |
version | |
source | src |
created_at | 2022-12-28 15:15:55.778759 |
updated_at | 2024-11-30 23:25:19.373195 |
description | Safe bindings for the Windows Notification Facility |
homepage | |
repository | https://github.com/matthias-stemmler/wnf |
max_upload_size | |
id | 746884 |
Cargo.toml error: | TOML parse error at line 25, column 1 | 25 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
The Windows Notification Facility (WNF) is a registrationless publisher/subscriber mechanism that was introduced in Windows 8 and forms an undocumented part of the Windows API.
This crate provides safe Rust abstractions over (a part of) this API. If you are looking for raw bindings to the API,
take a look at the ntapi
crate.
Note that while great care was taken in making these abstractions memory-safe, there cannot be a guarantee due to the undocumented nature of the API.
This crate is available on crates.io. In order to use it, add this to the dependencies
table of your Cargo.toml
:
[dependencies]
wnf = "0.5.2"
Some functionality of this crate is only available if the corresponding
features are enabled. For example, in order to enable the
subscribe
feature:
[dependencies]
wnf = { version = "0.5.2", features = ["subscribe"] }
This is a Windows-only crate and will fail to compile on other platforms. If you target multiple platforms, it is recommended that you declare it as a platform specific dependency:
[target.'cfg(windows)'.dependencies]
wnf = "0.5.2"
For a detailed explanation on how to use this crate, see the crate documentation.
For examples, see the examples folder in the crate repository.
The current MSRV of this crate is 1.70
.
Increasing the MSRV of this crate is not considered a breaking change. However, in such cases there will be at least a minor version bump. Each version of this crate will support at least the four latest stable Rust versions at the time it is published.
See CHANGELOG.md
Licensed under either of
at your option.
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.