• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[package]
2authors = ["Josh Chase <josh@prevoty.com>"]
3description = "Rust bindings to the JNI"
4documentation = "https://docs.rs/jni"
5readme = "README.md"
6keywords = [
7    "ffi",
8    "jni",
9    "java",
10]
11categories = ["api-bindings"]
12license = "MIT/Apache-2.0"
13name = "jni"
14repository = "https://github.com/jni-rs/jni-rs"
15# ¡When bumping version please also update it in examples and documentation!
16version = "0.21.1"
17edition = "2018"
18
19[dependencies]
20cfg-if = "1.0.0"
21cesu8 = "1.1.0"
22combine = "4.1.0"
23java-locator = { version = "0.1", optional = true }
24jni-sys = "0.3.0"
25libloading = { version = "0.7", optional = true }
26log = "0.4.4"
27thiserror = "1.0.20"
28
29[build-dependencies]
30walkdir = "2"
31
32[dev-dependencies]
33assert_matches = "1.5.0"
34lazy_static = "1"
35rusty-fork = "0.3.0"
36
37[target.'cfg(windows)'.dependencies]
38windows-sys = { version = "0.45.0", features = ["Win32_Globalization"] }
39
40[target.'cfg(windows)'.dev-dependencies]
41bytemuck = "1.13.0"
42
43[features]
44invocation = ["java-locator", "libloading"]
45default = []
46
47[package.metadata.docs.rs]
48features = ["invocation"]
49