vpncloud/Cargo.toml

98 lines
2.7 KiB
TOML
Raw Normal View History

2015-11-19 15:34:20 +00:00
[package]
2015-11-23 10:55:37 +00:00
name = "vpncloud"
2021-02-06 12:27:19 +00:00
version = "2.1.0"
2019-01-10 18:36:50 +00:00
authors = ["Dennis Schwerdel <schwerdel@googlemail.com>"]
2015-11-19 15:34:20 +00:00
build = "build.rs"
2015-11-28 16:54:52 +00:00
license = "GPL-3.0"
description = "Peer-to-peer VPN"
2019-02-14 21:51:10 +00:00
homepage = "https://vpncloud.ddswd.de"
2019-02-12 18:29:36 +00:00
repository = "https://github.com/dswd/vpncloud"
2015-11-28 16:54:52 +00:00
keywords = ["vpn", "p2p", "tun", "tap", "network"]
readme = "README.md"
2019-03-01 22:12:19 +00:00
edition = "2018"
2015-11-28 16:54:52 +00:00
2021-02-22 15:19:19 +00:00
[package.metadata]
toolchain = "1.50.0"
upx_version = "3.96"
2015-11-19 15:34:20 +00:00
[dependencies]
2020-11-28 22:37:28 +00:00
time = "=0.2.22"
2020-05-29 06:37:29 +00:00
structopt = "0.3"
2021-01-26 17:30:31 +00:00
serde = { version = "1.0", features = ["derive"] }
2019-01-01 23:35:14 +00:00
serde_yaml = "0.8"
log = { version = "0.4", features = ["std"] }
2019-12-04 08:32:35 +00:00
signal = "0.7"
2015-11-28 16:54:52 +00:00
libc = "0.2"
2020-12-19 22:34:17 +00:00
rand = "0.8"
2016-03-29 08:45:54 +00:00
fnv = "1"
2019-01-01 23:35:14 +00:00
yaml-rust = "0.4"
2019-12-04 08:32:35 +00:00
daemonize = "0.4"
ring = "0.16"
privdrop = "0.5"
byteorder = "1.4"
2020-09-24 17:48:13 +00:00
thiserror = "1.0"
2021-01-05 22:21:40 +00:00
parking_lot = "*"
smallvec = "1.6"
2021-02-13 23:09:11 +00:00
dialoguer = { version = "0.7", optional = true }
tungstenite = { version = "0.13", optional = true, default-features = false }
2021-02-04 20:42:38 +00:00
url = { version = "2.2", optional = true }
2021-02-13 23:09:11 +00:00
igd = { version = "0.12", optional = true }
2021-03-02 15:31:40 +00:00
tokio = { version = "1", features = ["full"] }
async-trait = "0.1"
2015-11-19 15:34:20 +00:00
2019-02-21 15:57:25 +00:00
[dev-dependencies]
tempfile = "3"
2021-02-06 12:09:11 +00:00
criterion = { version = "0.3", features = ["html_reports"] }
2021-02-08 09:06:47 +00:00
iai = "0.1"
2019-02-21 15:57:25 +00:00
2015-11-23 14:40:04 +00:00
[features]
2021-02-13 23:09:11 +00:00
default = ["nat", "websocket", "wizard"]
nat = ["igd"]
2021-02-04 20:42:38 +00:00
websocket = ["tungstenite", "url"]
2021-02-13 23:09:11 +00:00
wizard = ["dialoguer"]
installer = []
2016-11-25 06:29:12 +00:00
2021-01-28 21:54:29 +00:00
[[bench]]
2021-02-08 09:06:47 +00:00
name = "criterion"
harness = false
[[bench]]
name = "valgrind"
2021-01-28 21:54:29 +00:00
harness = false
2016-11-25 06:29:12 +00:00
[profile.release]
lto = true
[profile.dev]
lto = false
[profile.test]
lto = false
[package.metadata.deb]
extended-description = """\
2021-02-09 15:23:34 +00:00
VpnCloud is a high performance peer-to-peer mesh VPN over UDP supporting strong encryption,
NAT traversal and a simple configuration. It establishes a fully-meshed self-healing VPN
network in a peer-to-peer manner with strong end-to-end encryption based on elliptic curve
keys and AES-256. VpnCloud creates a virtual network interface on the host and forwards all
received data via UDP to the destination. It can work on TUN devices (IP based) and TAP
devices (Ethernet based)."""
license-file = ["LICENSE.md", "1"]
changelog = "assets/changelog.txt"
section = "net"
2020-02-20 21:52:40 +00:00
depends = "libc6 (>= 2.23), libgcc1 (>= 1:6.0.1)"
2020-07-06 21:06:38 +00:00
maintainer-scripts = "assets/deb-scripts"
assets = [
["target/release/vpncloud", "/usr/bin/vpncloud", "755"],
["assets/example.net.disabled", "/etc/vpncloud/example.net.disabled", "600"],
["assets/vpncloud@.service", "/lib/systemd/system/vpncloud@.service", "644"],
2021-02-08 14:13:58 +00:00
["assets/vpncloud-wsproxy.service", "/lib/systemd/system/vpncloud-wsproxy.service", "644"],
["target/vpncloud.1.gz", "/usr/share/man/man1/vpncloud.1.gz", "644"]
]
2019-03-02 00:12:42 +00:00
[package.metadata.rpm.cargo]
buildflags = ["--release"]
[package.metadata.rpm.targets]
vpncloud = { path = "/usr/bin/vpncloud" }