aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
authorJake McGinty <me@jake.su>2018-02-15 00:43:26 +0000
committerJake McGinty <me@jake.su>2018-02-15 00:43:26 +0000
commitac80824892eeba001336b896a536a40ccd70c775 (patch)
treed13878c129bd1e5f1ef9d5b773fd7fbdf9a79e3c /Cargo.toml
parentlil' cleanups (diff)
downloadwireguard-rs-ac80824892eeba001336b896a536a40ccd70c775.tar.xz
wireguard-rs-ac80824892eeba001336b896a536a40ccd70c775.zip
switch to lib/bin hybrid crate
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml8
1 files changed, 8 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 2730045..8e5616e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -6,6 +6,14 @@ license = "GPL-3.0"
repository = "https://git.zx2c4.com/wireguard-rs/"
description = "Userspace implementation of WireGuard, a fast, modern and secure VPN tunnel."
+[lib]
+name = "wireguard"
+path = "src/lib.rs"
+
+[[bin]]
+name = "wgrs"
+path = "src/main.rs"
+
[profile.release]
debug = true