# 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.5.0+v1.5.0" authors = [ "Alex Forster ", "Dan Siemon ", "Daniel Xu ", ] 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.70.1" 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"