diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2017-02-08 11:44:51 +0100 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2017-02-08 11:51:34 +0100 |
| commit | 93c53e7267056572615f2e29b1bf804b1c671380 (patch) | |
| tree | 1955c67e4e607972dbea4e2a4670c5172c72aaa4 | |
| parent | b460c4c138ad283746e12604975d9d1235381ed4 (diff) | |
| download | mullvadvpn-93c53e7267056572615f2e29b1bf804b1c671380.tar.xz mullvadvpn-93c53e7267056572615f2e29b1bf804b1c671380.zip | |
Add error-chain dependency
| -rw-r--r-- | Cargo.lock | 1 | ||||
| -rw-r--r-- | Cargo.toml | 1 | ||||
| -rw-r--r-- | src/lib.rs | 3 |
3 files changed, 5 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock index a13f3df512..77973ad11c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -138,6 +138,7 @@ version = "0.0.0" dependencies = [ "assert_matches 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "clonablechild 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "error-chain 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 902b80ead6..f0bba952ec 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,7 @@ authors = ["Linus Färnstrand <linus@mullvad.net>"] [dependencies] clonablechild = "0.1" +error-chain = "0.8" [dev-dependencies] assert_matches = "1.0" diff --git a/src/lib.rs b/src/lib.rs index 81225be473..f8e5e96a46 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -8,6 +8,9 @@ extern crate assert_matches; extern crate clonablechild; +#[macro_use] +extern crate error_chain; + /// Working with processes. pub mod process; |
