jawt-sys
Raw Rust bindings to Java AWT Native Interface.
Interoperability
This package can be used with popular FFI packages such as jni-sys, windows-sys, and x11-dl.
How to re-generate bindings
Run ./generate.ps1 on PowerShell. This will install bindgen 0.69 in .bindgen not to update the bindgen already installed in CARGO_HOME.
Versions
| jawt-sys | OpenJDK | jni-sys | windows-sys | x11-dl | MSRV |
|---|---|---|---|---|---|
| 0.1.0 | 17 | 0.3 | 0.60 | 2 | 1.74 |
Features
| Feature name | Description |
|---|---|
static-get-awt |
Enables jawt_sys::JAWT_GetAWT(). To call the function, users must manually link jawt.dll or libjawt.{dylib, so} at build time. |
How to use
Please refer to the WGPU example in the GitHub repository.
Licensing
Dual-licensed under MIT and Apache License version 2.0.