# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "jni-simple" version = "0.2.0" authors = ["Alexander Schütz "] build = false exclude = [ "example_project/*", "loop_test.sh", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Simple Rust wrapper around the JNI (Java Native Interface) API." readme = "README.md" keywords = [ "jni", "java", "ffi", ] categories = ["api-bindings"] license = "MIT OR Apache-2.0" repository = "https://github.com/AlexanderSchuetz97/jni-simple" [package.metadata.docs.rs] all-features = true [lib] name = "jni_simple" path = "src/lib.rs" [[test]] name = "arrays" path = "tests/arrays.rs" [[test]] name = "attach_and_die" path = "tests/attach_and_die.rs" [[test]] name = "bad_version_launch" path = "tests/bad_version_launch.rs" [[test]] name = "class" path = "tests/class.rs" [[test]] name = "create_bad_argument" path = "tests/create_bad_argument.rs" [[test]] name = "define_non_cl" path = "tests/define_non_cl.rs" [[test]] name = "exceptions" path = "tests/exceptions.rs" [[test]] name = "fields" path = "tests/fields.rs" [[test]] name = "getobjreftype" path = "tests/getobjreftype.rs" [[test]] name = "jtype_debug" path = "tests/jtype_debug.rs" [[test]] name = "launch_prop" path = "tests/launch_prop.rs" [[test]] name = "locals" path = "tests/locals.rs" [[test]] name = "macro_test" path = "tests/macro_test.rs" [[test]] name = "method_calls" path = "tests/method_calls.rs" [[test]] name = "monitor" path = "tests/monitor.rs" [[test]] name = "nio_buf" path = "tests/nio_buf.rs" [[test]] name = "register_natives" path = "tests/register_natives.rs" [[test]] name = "string" path = "tests/string.rs" [[test]] name = "test" path = "tests/test.rs" [[test]] name = "throw_new" path = "tests/throw_new.rs" [[test]] name = "throw_new_nt" path = "tests/throw_new_nt.rs" [[test]] name = "throw_new_za" path = "tests/throw_new_za.rs" [[test]] name = "throw_new_za2" path = "tests/throw_new_za2.rs" [[test]] name = "throw_new_za3" path = "tests/throw_new_za3.rs" [[test]] name = "throw_new_za4" path = "tests/throw_new_za4.rs" [[test]] name = "weak" path = "tests/weak.rs" [dependencies.libloading] version = "^0.8.5" optional = true [dependencies.once_cell] version = "^1.20.2" [dependencies.sync-ptr] version = "^0.1.1" [dev-dependencies.static_assertions] version = "1.1.0" [features] asserts = [] loadjvm = ["libloading"]