[package]
name = "libbpf-sys"
version = "1.5.0+v1.5.0"
description = "Rust bindings to libbpf from the Linux kernel"
readme = "README.md"
repository = "https://github.com/libbpf/libbpf-sys"
homepage = "https://github.com/libbpf/libbpf-sys"
keywords = ["bpf", "ebpf", "xdp"]
authors = [
"Alex Forster <alex@alexforster.com>",
"Dan Siemon <dan@coverfire.com>",
"Daniel Xu <dxu@dxuuu.xyz>",
]
license = "BSD-2-Clause"
edition = "2018"
build = "build.rs"
links = "libbpf"
exclude = [
"/elfutils/tests/*.bz2",
"/libbpf/assets",
"/zlib/contrib",
]
[badges]
github = { repository = "libbpf/libbpf-sys" }
maintenance = { status = "passively-maintained" }
[build-dependencies]
bindgen = { version = "^0.70.1", optional = true }
cc = "^1.1.6"
pkg-config = "^0.3.30"
nix = { version = "^0.29.0", default-features = false, features = ["fs"] }
[lib]
crate-type = ["lib", "staticlib"]
[features]
default = ["vendored-libbpf"]
novendor = []
vendored = ["vendored-libbpf", "vendored-libelf", "vendored-zlib"]
vendored-libbpf = ["static-libbpf"]
vendored-libelf = ["static-libelf"]
vendored-zlib = ["static-zlib"]
static = ["static-libbpf", "static-libelf", "static-zlib"]
static-libbpf = []
static-libelf = ["static-libbpf"]
static-zlib = ["static-libbpf"]
bindgen-source = ["bindgen"]