James Farrell | 3d0c78c | 2024-11-12 16:58:25 +0000 | [diff] [blame] | 1 | # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 | # |
| 3 | # When uploading crates to the registry Cargo will automatically |
| 4 | # "normalize" Cargo.toml files for maximal compatibility |
| 5 | # with all versions of Cargo and also rewrite `path` dependencies |
| 6 | # to registry (e.g., crates.io) dependencies. |
| 7 | # |
| 8 | # If you are reading this file be aware that the original Cargo.toml |
| 9 | # will likely look very different (and much more reasonable). |
| 10 | # See Cargo.toml.orig for the original contents. |
| 11 | |
| 12 | [package] |
| 13 | edition = "2018" |
| 14 | name = "libbpf-sys" |
| 15 | version = "1.4.3+v1.4.5" |
| 16 | authors = [ |
| 17 | "Alex Forster <alex@alexforster.com>", |
| 18 | "Dan Siemon <dan@coverfire.com>", |
| 19 | "Daniel Xu <dxu@dxuuu.xyz>", |
| 20 | ] |
| 21 | build = "build.rs" |
| 22 | links = "libbpf" |
| 23 | exclude = [ |
| 24 | "/elfutils/tests/*.bz2", |
| 25 | "/libbpf/assets", |
| 26 | "/zlib/contrib", |
| 27 | ] |
| 28 | autobins = false |
| 29 | autoexamples = false |
| 30 | autotests = false |
| 31 | autobenches = false |
| 32 | description = "Rust bindings to libbpf from the Linux kernel" |
| 33 | homepage = "https://github.com/libbpf/libbpf-sys" |
| 34 | readme = "README.md" |
| 35 | keywords = [ |
| 36 | "bpf", |
| 37 | "ebpf", |
| 38 | "xdp", |
| 39 | ] |
| 40 | license = "BSD-2-Clause" |
| 41 | repository = "https://github.com/libbpf/libbpf-sys" |
| 42 | |
| 43 | [lib] |
| 44 | name = "libbpf_sys" |
| 45 | crate-type = [ |
| 46 | "lib", |
| 47 | "staticlib", |
| 48 | ] |
| 49 | path = "src/lib.rs" |
| 50 | |
| 51 | [[test]] |
| 52 | name = "tests" |
| 53 | path = "tests/tests.rs" |
| 54 | |
| 55 | [build-dependencies.bindgen] |
| 56 | version = "^0.69.4" |
| 57 | optional = true |
| 58 | |
| 59 | [build-dependencies.cc] |
| 60 | version = "^1.1.6" |
| 61 | |
| 62 | [build-dependencies.nix] |
| 63 | version = "^0.29.0" |
| 64 | features = ["fs"] |
| 65 | default-features = false |
| 66 | |
| 67 | [build-dependencies.pkg-config] |
| 68 | version = "^0.3.30" |
| 69 | |
| 70 | [features] |
| 71 | bindgen-source = ["bindgen"] |
| 72 | default = ["vendored-libbpf"] |
| 73 | novendor = [] |
| 74 | static = [ |
| 75 | "static-libbpf", |
| 76 | "static-libelf", |
| 77 | "static-zlib", |
| 78 | ] |
| 79 | static-libbpf = [] |
| 80 | static-libelf = ["static-libbpf"] |
| 81 | static-zlib = ["static-libbpf"] |
| 82 | vendored = [ |
| 83 | "vendored-libbpf", |
| 84 | "vendored-libelf", |
| 85 | "vendored-zlib", |
| 86 | ] |
| 87 | vendored-libbpf = ["static-libbpf"] |
| 88 | vendored-libelf = ["static-libelf"] |
| 89 | vendored-zlib = ["static-zlib"] |
| 90 | |
| 91 | [badges.github] |
| 92 | repository = "libbpf/libbpf-sys" |
| 93 | |
| 94 | [badges.maintenance] |
| 95 | status = "passively-maintained" |