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
|
|
|
|
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"
|
2020-12-28 05:48:59 +00:00
|
|
|
igd = { version = "0.12", optional = true }
|
2019-12-04 08:32:35 +00:00
|
|
|
daemonize = "0.4"
|
|
|
|
ring = "0.16"
|
2020-10-14 05:31:27 +00:00
|
|
|
privdrop = "0.5"
|
2021-01-11 05:41:07 +00:00
|
|
|
byteorder = "1.4"
|
2020-09-24 17:48:13 +00:00
|
|
|
thiserror = "1.0"
|
2021-01-01 05:47:44 +00:00
|
|
|
smallvec = "1.6"
|
2021-02-04 21:12:20 +00:00
|
|
|
tungstenite = { version = "0.12", optional = true, default-features = false }
|
2021-02-04 20:42:38 +00:00
|
|
|
url = { version = "2.2", optional = true }
|
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-04 21:12:20 +00:00
|
|
|
default = ["nat", "websocket"]
|
2019-12-22 22:21:47 +00:00
|
|
|
nat = ["igd"]
|
2021-02-04 20:42:38 +00:00
|
|
|
websocket = ["tungstenite", "url"]
|
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
|
2016-11-28 10:28:46 +00:00
|
|
|
|
|
|
|
[profile.dev]
|
|
|
|
lto = false
|
|
|
|
|
|
|
|
[profile.test]
|
|
|
|
lto = false
|
2019-02-14 21:53:08 +00:00
|
|
|
|
|
|
|
[package.metadata.deb]
|
|
|
|
extended-description = """\
|
|
|
|
VpnCloud is a simple VPN over UDP. It creates a virtual network interface on
|
|
|
|
the host and forwards all received data via UDP to the destination. VpnCloud
|
|
|
|
establishes a fully-meshed VPN network in a peer-to-peer manner. 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"
|
2019-02-14 21:53:08 +00:00
|
|
|
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"],
|
2019-02-14 21:53:08 +00:00
|
|
|
["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" }
|