diff options
| -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; |
