summaryrefslogtreecommitdiffhomepage
path: root/talpid-openvpn-plugin/Cargo.toml
blob: 39315775ba290617519c5d18d59f50f2affe54ae (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
[package]
name = "talpid-openvpn-plugin"
description = "OpenVPN shared library plugin for relaying OpenVPN events to talpid_core"
version.workspace = true
authors.workspace = true
repository.workspace = true
license.workspace = true
edition.workspace = true
publish.workspace = true

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

[dependencies]
err-derive = { workspace = true }
log = { workspace = true }
env_logger = { workspace = true }
parity-tokio-ipc = "0.9"
tokio = { workspace = true, features =  ["rt"] }

openvpn-plugin = { version = "0.4.2", features = ["serde", "log", "auth-failed-event"] }
talpid-types = { path = "../talpid-types" }

tonic = { workspace = true }
tower = { workspace = true }
prost = { workspace = true }

[build-dependencies]
tonic-build = { workspace = true, default-features = false, features = ["transport", "prost"] }


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

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

[package.metadata.winres]
ProductName = "Mullvad VPN"
CompanyName = "Mullvad VPN AB"
LegalCopyright = "(c) 2023 Mullvad VPN AB"
InternalName = "talpid-openvpn-plugin"
OriginalFilename = "talpid_openvpn_plugin.dll"