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]
13edition = "2018"
14name = "libbpf-sys"
15version = "1.4.3+v1.4.5"
16authors = [
17    "Alex Forster <[email protected]>",
18    "Dan Siemon <[email protected]>",
19    "Daniel Xu <[email protected]>",
20]
21build = "build.rs"
22links = "libbpf"
23exclude = [
24    "/elfutils/tests/*.bz2",
25    "/libbpf/assets",
26    "/zlib/contrib",
27]
28autobins = false
29autoexamples = false
30autotests = false
31autobenches = false
32description = "Rust bindings to libbpf from the Linux kernel"
33homepage = "https://github.com/libbpf/libbpf-sys"
34readme = "README.md"
35keywords = [
36    "bpf",
37    "ebpf",
38    "xdp",
39]
40license = "BSD-2-Clause"
41repository = "https://github.com/libbpf/libbpf-sys"
42
43[lib]
44name = "libbpf_sys"
45crate-type = [
46    "lib",
47    "staticlib",
48]
49path = "src/lib.rs"
50
51[[test]]
52name = "tests"
53path = "tests/tests.rs"
54
55[build-dependencies.bindgen]
56version = "^0.69.4"
57optional = true
58
59[build-dependencies.cc]
60version = "^1.1.6"
61
62[build-dependencies.nix]
63version = "^0.29.0"
64features = ["fs"]
65default-features = false
66
67[build-dependencies.pkg-config]
68version = "^0.3.30"
69
70[features]
71bindgen-source = ["bindgen"]
72default = ["vendored-libbpf"]
73novendor = []
74static = [
75    "static-libbpf",
76    "static-libelf",
77    "static-zlib",
78]
79static-libbpf = []
80static-libelf = ["static-libbpf"]
81static-zlib = ["static-libbpf"]
82vendored = [
83    "vendored-libbpf",
84    "vendored-libelf",
85    "vendored-zlib",
86]
87vendored-libbpf = ["static-libbpf"]
88vendored-libelf = ["static-libelf"]
89vendored-zlib = ["static-zlib"]
90
91[badges.github]
92repository = "libbpf/libbpf-sys"
93
94[badges.maintenance]
95status = "passively-maintained"
96