blob: f27701cdbbd791e717967eb8ba5812de6d4704d6 [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 = "2018"
name = "libbpf-sys"
version = "1.4.3+v1.4.5"
authors = [
"Alex Forster <[email protected]>",
"Dan Siemon <[email protected]>",
"Daniel Xu <[email protected]>",
]
build = "build.rs"
links = "libbpf"
exclude = [
"/elfutils/tests/*.bz2",
"/libbpf/assets",
"/zlib/contrib",
]
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust bindings to libbpf from the Linux kernel"
homepage = "https://github.com/libbpf/libbpf-sys"
readme = "README.md"
keywords = [
"bpf",
"ebpf",
"xdp",
]
license = "BSD-2-Clause"
repository = "https://github.com/libbpf/libbpf-sys"
[lib]
name = "libbpf_sys"
crate-type = [
"lib",
"staticlib",
]
path = "src/lib.rs"
[[test]]
name = "tests"
path = "tests/tests.rs"
[build-dependencies.bindgen]
version = "^0.69.4"
optional = true
[build-dependencies.cc]
version = "^1.1.6"
[build-dependencies.nix]
version = "^0.29.0"
features = ["fs"]
default-features = false
[build-dependencies.pkg-config]
version = "^0.3.30"
[features]
bindgen-source = ["bindgen"]
default = ["vendored-libbpf"]
novendor = []
static = [
"static-libbpf",
"static-libelf",
"static-zlib",
]
static-libbpf = []
static-libelf = ["static-libbpf"]
static-zlib = ["static-libbpf"]
vendored = [
"vendored-libbpf",
"vendored-libelf",
"vendored-zlib",
]
vendored-libbpf = ["static-libbpf"]
vendored-libelf = ["static-libelf"]
vendored-zlib = ["static-zlib"]
[badges.github]
repository = "libbpf/libbpf-sys"
[badges.maintenance]
status = "passively-maintained"