# 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-cross" version = "1.4.3+v1.4.5" 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 = "Cross-compilation friendly fork of libbpf-sys" homepage = "https://github.com/kxxt/libbpf-sys-cross" readme = "README.md" keywords = [ "bpf", "ebpf", "xdp", ] license = "BSD-2-Clause" repository = "https://github.com/kxxt/libbpf-sys-cross" [lib] name = "libbpf_sys_cross" 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"