diff options
author | Sascha Grunert <mail@saschagrunert.de> | 2017-03-05 12:30:00 +0100 |
---|---|---|
committer | Sascha Grunert <mail@saschagrunert.de> | 2017-03-05 12:30:00 +0100 |
commit | 80bdb5e8b3b48d9abd1a43238b38f380e9322bbb (patch) | |
tree | 83a4da6a7759892e234e3de11a5291d9b4656a9f | |
parent | Reduced amount of 'v's for debug (diff) | |
download | wireguard-rs-80bdb5e8b3b48d9abd1a43238b38f380e9322bbb.tar.xz wireguard-rs-80bdb5e8b3b48d9abd1a43238b38f380e9322bbb.zip |
Updated readme, addes simple stupid unit test
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | tests/lib.rs | 7 |
2 files changed, 9 insertions, 0 deletions
@@ -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"); +} |