Crates.io | jvm-sys |
lib.rs | jvm-sys |
version | 0.1.0 |
source | src |
created_at | 2021-08-02 22:49:30.091243 |
updated_at | 2021-08-02 22:49:30.091243 |
description | Bindings for a JVM's provided headers |
homepage | |
repository | https://github.com/chrismooredev/jvm-sys-rs |
max_upload_size | |
id | 430726 |
size | 18,166 |
Bindgen-generated bindings for jni.h
, jawt.h
, and/or jvmti.h
, as distributed within a Java distribution.
link
: (default) Enables linking to each enabled library
jni
: (default) Enables generating bindings for, and linking to (if enabled), the system Java Native Interface library.
jawt
: Enables generating bindings for, and linking to (if enabled), the system Java Abstract Window Toolkit library.
jvmti
: Enables generating bindings for, and linking to (if enabled), the system Java Virtual Machine Tools Interface library.
Please note that jawt
and jvmti
bindings are experimental, and should be considered untested. Confirmation that these work would be welcome in the form of issues/etc.
You should just be able to pull the crate in as a dependency, and add the following to the consuming crate's lib.rs
/main.rs
file. (If you don't, a linkage error may occur).
extern crate jvm_sys;
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.