[badges.maintenance]
status = "actively-developed"
[build-dependencies.libbpf-sys]
default-features = false
optional = true
version = "1.4.1"
[build-dependencies.tempfile]
optional = true
version = "3.3"
[dependencies.bitflags]
version = "2.0"
[dependencies.libbpf-sys]
default-features = false
version = "1.4.1"
[dependencies.libc]
version = "0.2"
[dependencies.vsprintf]
version = "2.0"
[dev-dependencies._cc_unused]
package = "cc"
version = "1.0.3"
[dev-dependencies._pkg-config_unused]
package = "pkg-config"
version = "0.3.3"
[dev-dependencies.log]
version = "0.4.4"
[dev-dependencies.memmem]
version = "0.1.1"
[dev-dependencies.plain]
version = "0.2.3"
[dev-dependencies.probe]
version = "0.3"
[dev-dependencies.scopeguard]
version = "1.1"
[dev-dependencies.serial_test]
default-features = false
version = "3.0"
[dev-dependencies.tempfile]
version = "3.3"
[dev-dependencies.test-tag]
version = "0.1"
[features]
default = ["libbpf-sys/vendored-libbpf"]
dont-generate-test-files = []
generate-test-files = ["libbpf-sys/vendored-libbpf", "dep:tempfile"]
static = ["libbpf-sys/static"]
vendored = ["libbpf-sys/vendored"]
[lib]
name = "libbpf_rs"
path = "src/lib.rs"
[package]
authors = ["Daniel Xu <dxu@dxuuu.xyz>", "Daniel Müller <deso@posteo.net>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "libbpf-rs is a safe, idiomatic, and opinionated wrapper around libbpf-sys"
edition = "2021"
homepage = "https://github.com/libbpf/libbpf-rs"
keywords = ["bpf", "ebpf", "libbpf"]
license = "LGPL-2.1-only OR BSD-2-Clause"
name = "libbpf-rs"
readme = "README.md"
repository = "https://github.com/libbpf/libbpf-rs"
rust-version = "1.71"
version = "0.24.8"
[[test]]
name = "test"
path = "tests/test.rs"
[[test]]
name = "test_netfilter"
path = "tests/test_netfilter.rs"
[[test]]
name = "test_print"
path = "tests/test_print.rs"
[[test]]
name = "test_tc"
path = "tests/test_tc.rs"
[[test]]
name = "test_xdp"
path = "tests/test_xdp.rs"