libbpf-rs 0.26.0

libbpf-rs is a safe, idiomatic, and opinionated wrapper around libbpf-sys
Documentation
# 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 = "2021"
rust-version = "1.82"
name = "libbpf-rs"
version = "0.26.0"
authors = [
    "Daniel Xu <dxu@dxuuu.xyz>",
    "Daniel Müller <deso@posteo.net>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "libbpf-rs is a safe, idiomatic, and opinionated wrapper around libbpf-sys"
homepage = "https://github.com/libbpf/libbpf-rs"
documentation = "https://docs.rs/libbpf-rs"
readme = "README.md"
keywords = [
    "bpf",
    "ebpf",
    "libbpf",
]
license = "LGPL-2.1-only OR BSD-2-Clause"
repository = "https://github.com/libbpf/libbpf-rs"

[badges.maintenance]
status = "actively-developed"

[features]
default = ["libbpf-sys/vendored-libbpf"]
dont-generate-test-files = []
generate-test-files = [
    "libbpf-sys/vendored-libbpf",
    "dep:tempfile",
]
static = ["libbpf-sys/static"]
vendored = ["libbpf-sys/vendored"]

[lib]
name = "libbpf_rs"
path = "src/lib.rs"

[[test]]
name = "test"
path = "tests/test.rs"

[dependencies.bitflags]
version = "2.0"

[dependencies.libbpf-sys]
version = "1.6.0"
default-features = false

[dependencies.libc]
version = "0.2"

[dependencies.vsprintf]
version = "2.0"

[dev-dependencies._cc_unused]
version = "1.0.3"
package = "cc"

[dev-dependencies._pkg-config_unused]
version = "0.3.3"
package = "pkg-config"

[dev-dependencies.goblin]
version = "0.9.3"

[dev-dependencies.log]
version = "0.4.4"

[dev-dependencies.memmem]
version = "0.1.1"

[dev-dependencies.plain]
version = "0.2.3"

[dev-dependencies.probe]
version = "0.3"

[dev-dependencies.scopeguard]
version = "1.1"

[dev-dependencies.serial_test]
version = "3.0"
default-features = false

[dev-dependencies.tempfile]
version = "3.3"

[dev-dependencies.test-fork]
version = "0.1"

[dev-dependencies.test-tag]
version = "0.1"

[build-dependencies.libbpf-sys]
version = "1.5.0"
optional = true
default-features = false

[build-dependencies.tempfile]
version = "3.3"
optional = true

[lints.clippy]
absolute-paths = "warn"
clone-on-ref-ptr = "warn"
collapsible-else-if = "allow"
collapsible-if = "allow"
dbg-macro = "warn"
doc-markdown = "warn"
fn-to-numeric-cast = "allow"
join-absolute-paths = "warn"
large-enum-variant = "warn"
let-and-return = "allow"
let-unit-value = "allow"
module-inception = "allow"
redundant-closure-for-method-calls = "warn"
type-complexity = "allow"
unchecked-time-subtraction = "warn"
uninlined-format-args = "warn"
use-self = "warn"
wildcard-imports = "warn"

[lints.rust]
deprecated-safe = "warn"
future-incompatible = "warn"
keyword-idents = "warn"
let-underscore = "warn"
missing-debug-implementations = "warn"
missing-docs = "warn"
trivial-numeric-casts = "warn"
unsafe-op-in-unsafe-fn = "warn"
unused = "warn"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(has_procmap_query_ioctl)",
    "cfg(has_large_test_files)",
]