jawt

Crates.iojawt
lib.rsjawt
version0.2.0
created_at2025-08-15 08:31:53.680733+00
updated_at2025-09-18 19:21:47.396584+00
descriptionCross-platform Rust bindings to Java AWT
homepagehttps://github.com/gobley/jawt
repositoryhttps://github.com/gobley/jawt
max_upload_size
id1796402
size63,507
Chanjung Kim (paxbun)

documentation

README

jawt

Cross-platform, safe Rust bindings to Java AWT Native Interface.

Versions

jawt jawt-sys jni jni-sys euclid windows objc2 objc2-{app-kit, quartz-core} x11-dl MSRV
0.1.0 0.1 0.22 0.3 0.22 0.60 0.6 0.3 0.2 1.74
0.2.0 0.1 0.22 0.3 0.22 0.60 0.6 0.3 0.2 1.74

Features

Feature name Default Description
euclid Enables conversions between jawt::Rect and euclid::Rect.
java-1-4 Enables APIs introduced in Java 1.4.
java-9 Enables APIs introduced in Java 9.
dynamic-get-awt Configures jawt::Awt to locate JAWT_GetAWT in jawt.dll orlibjawt.{dylib, so} at runtime.
static-get-awt Configures jawt::Awt to use jawt_sys::JAWT_GetAWT. 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.

Windows macOS Linux
Windows WGPU Demo macOS WGPU Demo Linux WGPU Demo

Licensing

Dual-licensed under MIT and Apache License version 2.0.

Commit count: 26

cargo fmt