nw-sys

Crates.ionw-sys
lib.rsnw-sys
version0.1.6
sourcesrc
created_at2022-12-10 23:45:06.752653
updated_at2023-10-26 19:44:50.188644
descriptionRaw wasm_bindgen bindings for the NWJS API.
homepage
repositoryhttps://github.com/aspectron/nw-sys
max_upload_size
id734099
size159,396
(aspect)

documentation

README

nw-sys

wasm_bindgen bindings for NWJS API

github crates.io docs.rs license

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:

  • app application control and information access
  • clipboard system clipboard access
  • menu creation of application and tray menus
  • screen access to system Display information and layout
  • shell external application execution, file and URL opening
  • shortcut creation of application keyboard shortcuts
  • tray creation and installation of system tray menus
  • window creation 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:

Commit count: 69

cargo fmt