summaryrefslogtreecommitdiffhomepage
path: root/mullvad-api/Cargo.toml
blob: d73aa0f04653df9ea2d873243dccdc4120707f4e (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
36
37
38
39
40
[package]
name = "mullvad-api"
version = "0.1.0"
authors = ["Mullvad VPN"]
description = "Mullvad VPN API clients. Providing an interface to query our infrastructure for information."
license = "GPL-3.0"
edition = "2021"
publish = false

[features]
# Allow the API server to use to be configured via MULLVAD_API_HOST and MULLVAD_API_ADDR.
api-override = []

[dependencies]
chrono = { version = "0.4.19", features = ["serde"] }
err-derive = "0.3.1"
futures = "0.3"
http = "0.2"
hyper = { version = "0.14", features = ["client", "stream"] }
ipnetwork = "0.16"
log = "0.4"
rand = "0.7"
regex = "1"
serde = "1"
serde_json = "1.0"
hyper-rustls = "0.23"
tokio = { version = "1.8", features = ["macros", "time", "rt-multi-thread", "net", "io-std", "io-util", "fs"] }
tokio-rustls = "0.23"
rustls-pemfile = "0.2"
urlencoding = "1"
webpki = { version = "0.21", features =  [] }
lazy_static = "1.1.0"

mullvad-types = { path = "../mullvad-types" }
talpid-types = { path = "../talpid-types" }

shadowsocks = { version = "1.12", default-features = false, features = ["stream-cipher"] }

[target.'cfg(target_os="macos")'.dependencies]
tokio-stream = { version = "0.1", features = ["io-util"] }