diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2017-02-04 00:55:19 +0100 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2017-02-04 01:29:28 +0100 |
| commit | ec1b76dd28c90894200fc0a19fa964643e815cbf (patch) | |
| tree | e5fc2e9d4378b6dda6c9fb91b789da64d76315ae | |
| parent | 8b679519a277c65d449d48c6fa48491b5d158b61 (diff) | |
| download | mullvadvpn-ec1b76dd28c90894200fc0a19fa964643e815cbf.tar.xz mullvadvpn-ec1b76dd28c90894200fc0a19fa964643e815cbf.zip | |
Make assert_matches a dev-dependency
| -rw-r--r-- | Cargo.toml | 2 | ||||
| -rw-r--r-- | src/lib.rs | 1 | ||||
| -rw-r--r-- | talpid_openvpn_plugin/Cargo.toml | 2 | ||||
| -rw-r--r-- | talpid_openvpn_plugin/src/lib.rs | 1 |
4 files changed, 6 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml index 1949c0ba2e..f1883f6247 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,8 @@ authors = ["Linus Färnstrand <linus@mullvad.net>"] [dependencies] clonablechild = "0.1" + +[dev-dependencies] assert_matches = "1.0" [dependencies.talpid_openvpn_plugin] diff --git a/src/lib.rs b/src/lib.rs index 7a3c2ee659..81225be473 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2,6 +2,7 @@ //! The core components of the talpidaemon VPN client. +#[cfg(test)] #[macro_use] extern crate assert_matches; diff --git a/talpid_openvpn_plugin/Cargo.toml b/talpid_openvpn_plugin/Cargo.toml index 03243c603a..c15ef9cdbd 100644 --- a/talpid_openvpn_plugin/Cargo.toml +++ b/talpid_openvpn_plugin/Cargo.toml @@ -9,4 +9,6 @@ crate-type = ["dylib"] [dependencies] lazy_static = "0.2" error-chain = "0.8" + +[dev-dependencies] assert_matches = "1.0" diff --git a/talpid_openvpn_plugin/src/lib.rs b/talpid_openvpn_plugin/src/lib.rs index ea7a5d17ed..d2d1ea9d74 100644 --- a/talpid_openvpn_plugin/src/lib.rs +++ b/talpid_openvpn_plugin/src/lib.rs @@ -4,6 +4,7 @@ extern crate lazy_static; #[macro_use] extern crate error_chain; +#[cfg(test)] #[macro_use] extern crate assert_matches; |
