[][src]Crate jerk_build

jerk-build: Java Embedding Rust Kit - build.rs / metabuild script

GitHub unsafe: no rust: 1.36.0+ License

A library to compile/embed Java alongside a Rust library/application. Similar to cc, but for Java. This is not an official project of Google, Oracle, Sun Microsystems, or anyone else.

Quick Start: build.rs

Add the following to your executable's Cargo.toml:

[build-dependencies]
jerk-build = "0.1"

And the following to your build.rs:

fn main() {
    jerk_build::metabuild();
}

Quick Start: metabuild (nightly only)

Add the following to your executable's Cargo.toml:

cargo-features = ["metabuild"]

[package]
metabuild = ["jerk_build"]

[build-dependencies]
jerk-build = "0.1"

License

Licensed under either of

  • Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
  • MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)

at your option.

Functions

metabuild

A cargo metabuild compatible entry point.