# 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 = "rs4j" version = "0.10.2" authors = [ "RedstoneWizard08", "Stardust Modding Contributors", ] build = "build.rs" exclude = [ "vscode", "hljs", "hljs-demo", "example", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A small, automatic, efficient, and easy-to-use Rust to Java bridge." homepage = "https://github.com/StardustModding/rs4j" readme = "README.md" keywords = [ "ffi", "bridge", "extern", "java", "interop", ] license = "MIT" repository = "https://github.com/StardustModding/rs4j" [package.metadata.docs.rs] all-features = true [lib] name = "rs4j" path = "src/lib.rs" [[bin]] name = "rs4j" path = "src/main.rs" required-features = ["cli"] [dependencies.anyhow] version = "1.0.89" [dependencies.clap] version = "4.5.18" features = ["derive"] optional = true [dependencies.convert_case] version = "0.6.0" [dependencies.dircpy] version = "0.3.19" optional = true [dependencies.glob] version = "0.3.1" optional = true [dependencies.jni] version = "0.21.1" [dependencies.peg] version = "0.8.4" [dependencies.regex] version = "1.10.6" optional = true [dependencies.serde_json] version = "1.0.128" optional = true [features] build = [ "dep:dircpy", "dep:glob", "dep:regex", ] cli = [ "build", "dep:clap", "dep:serde_json", ] default = []