7 releases
| 0.1.6 | Oct 26, 2023 |
|---|---|
| 0.1.5 | Jul 26, 2023 |
| 0.1.2 | Feb 11, 2023 |
| 0.1.0 | Jan 26, 2023 |
| 0.0.0 | Dec 10, 2022 |
#554 in WebAssembly
1,608 downloads per month
Used in 8 crates
(5 directly)
160KB
1.5K
SLoC
nw-sys
wasm_bindgen bindings for NWJS API
NWJS JS API documentation is available here: https://nwjs.readthedocs.io/en/latest/
Bindings
nw-sys provides Rust bindings for all NWJS subsystems with the following modules offering:
appapplication control and information accessclipboardsystem clipboard accessmenucreation of application and tray menusscreenaccess to system Display information and layoutshellexternal application execution, file and URL openingshortcutcreation of application keyboard shortcutstraycreation and installation of system tray menuswindowcreation and control of application windows
A higher-level Rust API for NWJS, based on top of this crate, is also available via the workflow-nw crate that is a part of the workflow-rs application development framework.
Examples
You can find an example application using these APIs at https://github.com/aspectron/nw-sys-example
Other Crates
Following crates can be used in conjunciton with nw-sys:
Dependencies
~7–9.5MB
~175K SLoC