# 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 = "j4rs" version = "0.21.0" authors = ["aston "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "j4rs stands for 'Java for Rust' and allows effortless calls to Java code, from Rust" readme = "README.md" keywords = [ "java", "jni", ] categories = ["api-bindings"] license = "MIT OR Apache-2.0" repository = "https://github.com/astonbitecode/j4rs" [lib] name = "j4rs" crate-type = [ "rlib", "cdylib", ] path = "src/lib.rs" [[bench]] name = "j4rs_benchmark" path = "benches/j4rs_benchmark.rs" harness = false [dependencies.cesu8] version = "1.1.0" [dependencies.dunce] version = "1.0" [dependencies.fs_extra] version = "1.3" [dependencies.futures] version = "0.3" [dependencies.java-locator] version = "0.1" optional = true [dependencies.jni-sys] version = "0.4" [dependencies.lazy_static] version = "1.4" [dependencies.libc] version = "0.2" [dependencies.libloading] version = "0.8" optional = true [dependencies.log] version = "0.4" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dev-dependencies.async-std] version = "1.12" features = ["attributes"] [dev-dependencies.criterion] version = "0.5" features = ["html_reports"] [dev-dependencies.tokio] version = "1.36" features = ["full"] [build-dependencies.fs_extra] version = "1.3" [features] default = [ "dep:libloading", "dep:java-locator", ] no-runtime-libloading = [] [badges.travis-ci] branch = "master" repository = "astonbitecode/j4rs"