• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.8"
17authors = [
18    "Daniel Xu <dxu@dxuuu.xyz>",
19    "Daniel Müller <deso@posteo.net>",
20]
21build = false
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_netfilter"
47path = "tests/test_netfilter.rs"
48
49[[test]]
50name = "test_print"
51path = "tests/test_print.rs"
52
53[[test]]
54name = "test_tc"
55path = "tests/test_tc.rs"
56
57[[test]]
58name = "test_xdp"
59path = "tests/test_xdp.rs"
60
61[dependencies.bitflags]
62version = "2.0"
63
64[dependencies.libbpf-sys]
65version = "1.4.1"
66default-features = false
67
68[dependencies.libc]
69version = "0.2"
70
71[dependencies.vsprintf]
72version = "2.0"
73
74[dev-dependencies._cc_unused]
75version = "1.0.3"
76package = "cc"
77
78[dev-dependencies._pkg-config_unused]
79version = "0.3.3"
80package = "pkg-config"
81
82[dev-dependencies.log]
83version = "0.4.4"
84
85[dev-dependencies.memmem]
86version = "0.1.1"
87
88[dev-dependencies.plain]
89version = "0.2.3"
90
91[dev-dependencies.probe]
92version = "0.3"
93
94[dev-dependencies.scopeguard]
95version = "1.1"
96
97[dev-dependencies.serial_test]
98version = "3.0"
99default-features = false
100
101[dev-dependencies.tempfile]
102version = "3.3"
103
104[dev-dependencies.test-tag]
105version = "0.1"
106
107[build-dependencies.libbpf-sys]
108version = "1.4.1"
109optional = true
110default-features = false
111
112[build-dependencies.tempfile]
113version = "3.3"
114optional = true
115
116[features]
117default = ["libbpf-sys/vendored-libbpf"]
118dont-generate-test-files = []
119generate-test-files = [
120    "libbpf-sys/vendored-libbpf",
121    "dep:tempfile",
122]
123static = ["libbpf-sys/static"]
124vendored = ["libbpf-sys/vendored"]
125
126[badges.maintenance]
127status = "actively-developed"
128