# 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.71"
name = "libbpf-cargo"
version = "0.25.0-beta.1"
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 = "Cargo plugin to build bpf programs"
homepage = "https://github.com/libbpf/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"

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

[[bin]]
name = "cargo-libbpf"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0.1"

[dependencies.cargo_metadata]
version = "0.15.0"

[dependencies.clap]
version = "4.0.32"
features = ["derive"]

[dependencies.libbpf-rs]
version = "=0.25.0-beta.1"
default-features = false

[dependencies.memmap2]
version = "0.5"

[dependencies.regex]
version = "1.6.0"
features = [
    "std",
    "unicode-perl",
]
default-features = false

[dependencies.semver]
version = "1.0"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.tempfile]
version = "3.3"

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

[features]
default = ["libbpf-rs/default"]

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