# 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" name = "bpf-linker" version = "0.9.13" authors = ["Alessandro Decina "] description = "BPF static linker" readme = "README.md" keywords = [ "BPF", "eBPF", "linker", "llvm", ] categories = [ "development-tools", "command-line-utilities", "no-std", "os::linux-apis", ] license = "MIT OR Apache-2.0" repository = "https://github.com/aya-rs/bpf-linker" [profile.release] debug = 2 [[bin]] name = "bpf-linker" [dependencies.anyhow] version = "1.0.86" [dependencies.ar] version = "0.9.0" [dependencies.aya-rustc-llvm-proxy] version = "0.9.3" optional = true [dependencies.clap] version = "4.5.15" features = ["derive"] [dependencies.gimli] version = "0.31.0" [dependencies.libc] version = "0.2.155" [dependencies.llvm-sys] version = "191.0.0-rc1" features = ["disable-alltargets-init"] [dependencies.log] version = "0.4.22" [dependencies.thiserror] version = "1.0.63" [dependencies.tracing] version = "0.1" [dependencies.tracing-appender] version = "0.2" [dependencies.tracing-subscriber] version = "0.3" features = [ "env-filter", "registry", ] [dependencies.tracing-tree] version = "0.4" [dev-dependencies.compiletest_rs] version = "0.10.1" [dev-dependencies.regex] version = "1.10.6" default-features = false [dev-dependencies.rustc-build-sysroot] version = "0.5.3" default-features = false [dev-dependencies.which] version = "6.0.2" features = ["regex"] default-features = false [features] default = ["rust-llvm"] rust-llvm = [ "dep:aya-rustc-llvm-proxy", "llvm-sys/no-llvm-linking", ]