docs.rs failed to build libnftables-sys-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
libnftables Rust Bindings
The libnftables-sys crate provides declarations and linkage for the
libnftables C library.
The libnftables-sys crate provides minimal abstractions over the native
libnftables library functions.
Dependencies
In order to use the libnftables-sys crate, you must have the libnftables
library installed.
Usage
Add libnftables-sys as a dependency in Cargo.toml:
[]
= "0.1"
Import the libnftables_sys crate and use the functions as they're defined in
the native libnftables library. You can also use the Nftables struct, a very
thin layer on top of the native functions.
extern crate libnftables_sys;
use *;
See the examples directory for complete examples.
License
This crate has the same license as libnftables, which is GPL version 2 only.