| Crates.io | jawt-sys |
| lib.rs | jawt-sys |
| version | 0.2.0 |
| created_at | 2025-08-15 08:22:15.026471+00 |
| updated_at | 2025-09-18 19:19:51.852895+00 |
| description | Raw bindings to Java AWT |
| homepage | https://github.com/gobley/jawt |
| repository | https://github.com/gobley/jawt |
| max_upload_size | |
| id | 1796398 |
| size | 45,585 |
Raw Rust bindings to Java AWT Native Interface.
This package can be used with popular FFI packages such as jni-sys, windows-sys, and x11-dl.
Run jawt-sys-generator. This will download JAWT headers from OpenJDK and generate bindings from them. You can also use this GitHub Actions workflow to run jawt-sys-generator on Windows, macOS, and Linux simultaneously.
| jawt-sys | OpenJDK | jni-sys | windows-sys | x11-dl | MSRV |
|---|---|---|---|---|---|
| 0.1.0 | 17 | 0.3 | 0.60 | 2 | 1.74 |
| 0.2.0 | 17 | 0.3 | 0.60 | 2 | 1.74 |
| 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. |
Please refer to the WGPU example in the GitHub repository.
| Windows | macOS | Linux |
|---|---|---|
![]() |
![]() |
![]() |
Dual-licensed under MIT and Apache License version 2.0.