blob: ac4c2fb286aa23a8c123074a66143174e263de63 [file] [log] [blame]
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2021"
rust-version = "1.71"
name = "libbpf-rs"
version = "0.24.8"
authors = [
"Daniel Xu <[email protected]>",
"Daniel Müller <[email protected]>",
]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "libbpf-rs is a safe, idiomatic, and opinionated wrapper around libbpf-sys"
homepage = "https://github.com/libbpf/libbpf-rs"
readme = "README.md"
keywords = [
"bpf",
"ebpf",
"libbpf",
]
license = "LGPL-2.1-only OR BSD-2-Clause"
repository = "https://github.com/libbpf/libbpf-rs"
[lib]
name = "libbpf_rs"
path = "src/lib.rs"
[[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"
[dependencies.bitflags]
version = "2.0"
[dependencies.libbpf-sys]
version = "1.4.1"
default-features = false
[dependencies.libc]
version = "0.2"
[dependencies.vsprintf]
version = "2.0"
[dev-dependencies._cc_unused]
version = "1.0.3"
package = "cc"
[dev-dependencies._pkg-config_unused]
version = "0.3.3"
package = "pkg-config"
[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]
version = "3.0"
default-features = false
[dev-dependencies.tempfile]
version = "3.3"
[dev-dependencies.test-tag]
version = "0.1"
[build-dependencies.libbpf-sys]
version = "1.4.1"
optional = true
default-features = false
[build-dependencies.tempfile]
version = "3.3"
optional = true
[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"]
[badges.maintenance]
status = "actively-developed"