diff options
-rw-r--r-- | nftnl/Cargo.toml | 2 | ||||
-rw-r--r-- | nftnl/src/lib.rs | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/nftnl/Cargo.toml b/nftnl/Cargo.toml index 0247e93..5cecd8b 100644 --- a/nftnl/Cargo.toml +++ b/nftnl/Cargo.toml @@ -16,7 +16,7 @@ nftnl-1-1-0 = ["nftnl-sys/nftnl-1-1-0"] [dependencies] bitflags = "1.0" -error-chain = "0.11" +error-chain = "0.12" libc = "0.2.40" log = "0.4" nftnl-sys = { path = "../nftnl-sys", version = "0.1" } diff --git a/nftnl/src/lib.rs b/nftnl/src/lib.rs index bde02cc..01751ad 100644 --- a/nftnl/src/lib.rs +++ b/nftnl/src/lib.rs @@ -10,6 +10,7 @@ extern crate log; use nftnl_sys::c_void; +pub use error_chain::ChainedError; error_chain! { errors { AllocationError { description("Unable to allocate memory") } |