summaryrefslogtreecommitdiffhomepage
path: root/mullvad-jni/Cargo.toml
blob: e97785d1c239dcae6655805eefa3056135c6dbc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[package]
name = "mullvad-jni"
description = "JNI interface for the Mullvad daemon"
authors.workspace = true
repository.workspace = true
license.workspace = true
edition.workspace = true
rust-version.workspace = true

[lints]
workspace = true

[features]
# Allow the API server to use to be configured
api-override = ["mullvad-api/api-override", "mullvad-daemon/api-override"]
boringtun = ["mullvad-daemon/boringtun"]

[lib]
crate-type = ["cdylib"]

[target.'cfg(target_os = "android")'.dependencies]
tokio = { workspace = true, features = ["rt"] }

thiserror = { workspace = true }
jnix = { version = "0.5.1", features = ["derive"] }
log = { workspace = true }
log-panics = "2"

mullvad-api = { path = "../mullvad-api" }
mullvad-daemon = { path = "../mullvad-daemon" }
mullvad-problem-report = { path = "../mullvad-problem-report" }
mullvad-types = { path = "../mullvad-types" }
talpid-tunnel = { path = "../talpid-tunnel" }
talpid-types = { path = "../talpid-types" }
talpid-platform-metadata = { path = "../talpid-platform-metadata" }