diff options
author | Linus Färnstrand <linus@mullvad.net> | 2018-08-29 15:16:46 +0200 |
---|---|---|
committer | Linus Färnstrand <linus@mullvad.net> | 2018-08-29 15:16:46 +0200 |
commit | 461e19a624eba04f9ece8c594cdf21e7c2c36a85 (patch) | |
tree | cf73c0aea9f0cc80a4360172a97de8b47e8f4b4b /nftnl-sys/src/lib.rs | |
parent | e45dc8f102b80510e6bc2bc021138ca34f70d52e (diff) | |
parent | 6030e50aefd3717fcf611f4e11487c627bf1f95c (diff) |
Merge branch 'add-nftnl-1-1-1'
Diffstat (limited to 'nftnl-sys/src/lib.rs')
-rw-r--r-- | nftnl-sys/src/lib.rs | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/nftnl-sys/src/lib.rs b/nftnl-sys/src/lib.rs index 53b42e0..3c0a75f 100644 --- a/nftnl-sys/src/lib.rs +++ b/nftnl-sys/src/lib.rs @@ -18,11 +18,16 @@ #![cfg(target_os = "linux")] #![allow(non_camel_case_types)] -extern crate libc; +pub extern crate libc; -#[cfg(feature = "nftnl-1-1-0")] +#[cfg(feature = "nftnl-1-1-1")] +mod nftnl_1_1_1; +#[cfg(feature = "nftnl-1-1-1")] +pub use nftnl_1_1_1::*; + +#[cfg(all(feature = "nftnl-1-1-0", not(feature = "nftnl-1-1-1")))] mod nftnl_1_1_0; -#[cfg(feature = "nftnl-1-1-0")] +#[cfg(all(feature = "nftnl-1-1-0", not(feature = "nftnl-1-1-1")))] pub use nftnl_1_1_0::*; #[cfg(all(feature = "nftnl-1-0-9", not(feature = "nftnl-1-1-0")))] |