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 = "2021"
14rust-version = "1.71"
15name = "libbpf-rs"
16version = "0.24.2"
17authors = [
18    "Daniel Xu <[email protected]>",
19    "Daniel Müller <[email protected]>",
20]
21build = "build.rs"
22autobins = false
23autoexamples = false
24autotests = false
25autobenches = false
26description = "libbpf-rs is a safe, idiomatic, and opinionated wrapper around libbpf-sys"
27homepage = "https://github.com/libbpf/libbpf-rs"
28readme = "README.md"
29keywords = [
30    "bpf",
31    "ebpf",
32    "libbpf",
33]
34license = "LGPL-2.1-only OR BSD-2-Clause"
35repository = "https://github.com/libbpf/libbpf-rs"
36
37[lib]
38name = "libbpf_rs"
39path = "src/lib.rs"
40
41[[test]]
42name = "test"
43path = "tests/test.rs"
44
45[[test]]
46name = "test_print"
47path = "tests/test_print.rs"
48
49[[test]]
50name = "test_tc"
51path = "tests/test_tc.rs"
52
53[[test]]
54name = "test_xdp"
55path = "tests/test_xdp.rs"
56
57[dependencies.bitflags]
58version = "2.0"
59
60[dependencies.libbpf-sys]
61version = "1.4.1"
62default-features = false
63
64[dependencies.libc]
65version = "0.2"
66
67[dependencies.vsprintf]
68version = "2.0"
69
70[dev-dependencies._cc_unused]
71version = "1.0.3"
72package = "cc"
73
74[dev-dependencies._pkg-config_unused]
75version = "0.3.3"
76package = "pkg-config"
77
78[dev-dependencies.log]
79version = "0.4.4"
80
81[dev-dependencies.memmem]
82version = "0.1.1"
83
84[dev-dependencies.plain]
85version = "0.2.3"
86
87[dev-dependencies.probe]
88version = "0.3"
89
90[dev-dependencies.scopeguard]
91version = "1.1"
92
93[dev-dependencies.serial_test]
94version = "3.0"
95default-features = false
96
97[dev-dependencies.tempfile]
98version = "3.3"
99
100[dev-dependencies.test-tag]
101version = "0.1"
102
103[build-dependencies.libbpf-sys]
104version = "1.4.1"
105optional = true
106default-features = false
107
108[build-dependencies.tempfile]
109version = "3.3"
110optional = true
111
112[features]
113default = ["libbpf-sys/vendored-libbpf"]
114dont-generate-test-files = []
115generate-test-files = [
116    "libbpf-sys/vendored-libbpf",
117    "dep:tempfile",
118]
119static = ["libbpf-sys/static"]
120vendored = ["libbpf-sys/vendored"]
121
122[badges.maintenance]
123status = "actively-developed"
124