aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Grunert <mail@saschagrunert.de>2017-03-05 12:30:00 +0100
committerSascha Grunert <mail@saschagrunert.de>2017-03-05 12:30:00 +0100
commit80bdb5e8b3b48d9abd1a43238b38f380e9322bbb (patch)
tree83a4da6a7759892e234e3de11a5291d9b4656a9f
parentReduced amount of 'v's for debug (diff)
downloadwireguard-rs-80bdb5e8b3b48d9abd1a43238b38f380e9322bbb.tar.xz
wireguard-rs-80bdb5e8b3b48d9abd1a43238b38f380e9322bbb.zip
Updated readme, addes simple stupid unit test
-rw-r--r--README.md2
-rw-r--r--tests/lib.rs7
2 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index c327ca5..7cb10e0 100644
--- a/README.md
+++ b/README.md
@@ -2,3 +2,5 @@
[![Build Status](https://travis-ci.org/WireGuard/wireguard-rs.svg)](https://travis-ci.org/WireGuard/wireguard-rs) [![Coverage Status](https://coveralls.io/repos/github/WireGuard/wireguard-rs/badge.svg)](https://coveralls.io/github/WireGuard/wireguard-rs?branch=master) [![License GPL2](https://img.shields.io/badge/license-GPL_2-blue.svg)](https://github.com/WireGuard/wireguard-rs/blob/master/LICENSE)
## Fast, modern and secure VPN tunnel
Target of this project is to have a user space Rust implementation of WireGuard.
+
+This implementation is currently _work in progress_ and is notable to work in the intended behavior.
diff --git a/tests/lib.rs b/tests/lib.rs
index 334160d..b285ffd 100644
--- a/tests/lib.rs
+++ b/tests/lib.rs
@@ -1 +1,8 @@
extern crate wireguard;
+
+use wireguard::WireGuard;
+
+#[test]
+fn new_wireguard() {
+ WireGuard::new("wg0");
+}