aboutsummaryrefslogtreecommitdiff
path: root/nftnl-sys/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'nftnl-sys/src/lib.rs')
-rw-r--r--nftnl-sys/src/lib.rs11
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")))]