summaryrefslogtreecommitdiffhomepage
path: root/mullvad-cli/Cargo.toml
blob: ab3e0ac03f59a97456ab2e653ec87300f49b5acd (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
41
42
43
44
45
46
47
48
49
50
51
[package]
name = "mullvad-cli"
version = "0.0.0"
authors = ["Mullvad VPN"]
description = "Manage the Mullvad VPN daemon via a convenient CLI"
license = "GPL-3.0"
edition = "2021"
publish = false

[[bin]]
name = "mullvad"
path = "src/main.rs"

[dependencies]
anyhow = "1.0"
base64 = "0.13"
chrono = { version = "0.4.19", features = ["serde"] }
clap = { version = "4.2.7", features = ["cargo", "derive"] }
env_logger = "0.10.0"
futures = "0.3"
natord = "1.0.9"
serde = "1.0"
itertools = "0.10"

mullvad-types = { path = "../mullvad-types", features = ["clap"] }
mullvad-paths = { path = "../mullvad-paths" }
mullvad-version = { path = "../mullvad-version" }
talpid-types = { path = "../talpid-types" }

mullvad-management-interface = { path = "../mullvad-management-interface" }
tokio = { version = "1.8", features =  [ "rt-multi-thread" ] }

[target.'cfg(all(unix, not(target_os = "android")))'.dependencies]
clap_complete = { version = "4.2.1" }

[target.'cfg(windows)'.build-dependencies]
winres = "0.1"
mullvad-version = { path = "../mullvad-version" }

[target.'cfg(windows)'.build-dependencies.windows-sys]
version = "0.45.0"
features = [
    "Win32_System_SystemServices",
]

[package.metadata.winres]
ProductName = "Mullvad VPN"
CompanyName = "Mullvad VPN AB"
LegalCopyright = "(c) 2023 Mullvad VPN AB"
InternalName = "mullvad-cli"
OriginalFilename = "mullvad.exe"