bpf-linker 0.9.13

BPF static linker
[package]
name = "bpf-linker"
version = "0.9.13"
authors = ["Alessandro Decina <alessandro.d@gmail.com>"]
description = "BPF static linker"
license = "MIT OR Apache-2.0"
keywords = ["BPF", "eBPF", "linker", "llvm"]
categories = [
    "development-tools",
    "command-line-utilities",
    "no-std",
    "os::linux-apis",
]
repository = "https://github.com/aya-rs/bpf-linker"
readme = "README.md"
edition = "2021"

[dependencies]
# cli deps
anyhow = "1.0.86"
clap = { version = "4.5.15", features = ["derive"] }
tracing-appender = "0.2"
tracing-subscriber = { version = "0.3", features = ["env-filter", "registry"] }
tracing-tree = "0.4"

# lib deps
ar = { version = "0.9.0" }
aya-rustc-llvm-proxy = { version = "0.9.3", optional = true }
gimli = { version = "0.31.0" }
libc = { version = "0.2.155" }
llvm-sys = { features = ["disable-alltargets-init"], version = "191.0.0-rc1" }
log = { version = "0.4.22" }
thiserror = { version = "1.0.63" }
tracing = "0.1"

[dev-dependencies]
compiletest_rs = { version = "0.10.1" }
regex = { version = "1.10.6", default-features = false }
rustc-build-sysroot = { version = "0.5.3", default-features = false }
which = { version = "6.0.2", default-features = false, features = ["regex"] }

[[bin]]
name = "bpf-linker"

[features]
rust-llvm = [
    "dep:aya-rustc-llvm-proxy",
    "llvm-sys/no-llvm-linking",
]
default = ["rust-llvm"]

[profile.release]
debug = true

[patch.crates-io]
compiletest_rs = { git = "https://github.com/Manishearth/compiletest-rs.git" }