diff --git a/README.md b/README.md index 4c4195c1..82f1066b 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ cargo install boringtun-cli ### Building -- Library only: `cargo build --lib --no-default-features --release [--target $(TARGET_TRIPLE)]` +- Library only: `cargo build --lib --release [--target $(TARGET_TRIPLE)]` - Executable: `cargo build --bin boringtun-cli --release [--target $(TARGET_TRIPLE)]` By default the executable is placed in the `./target/release` folder. You can copy it to a desired location manually, or install it using `cargo install --bin boringtun --path .`. diff --git a/boringtun/Cargo.toml b/boringtun/Cargo.toml index 1c528e75..9934f89d 100644 --- a/boringtun/Cargo.toml +++ b/boringtun/Cargo.toml @@ -13,7 +13,7 @@ documentation = "https://docs.rs/boringtun/0.5.2/boringtun/" edition = "2018" [features] -default = [] +default = ["device", "jni-bindings"] device = ["socket2", "thiserror"] jni-bindings = ["ffi-bindings", "jni"] ffi-bindings = ["tracing-subscriber"]