forked from alessandrod/bpf-linker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
39 lines (34 loc) · 1 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[package]
name = "bpf-linker"
version = "0.9.7"
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
clap = { version = "4.3", features = ["derive"] }
simplelog = { version = "0.12.1" }
# lib deps
libc = { version = "0.2" }
thiserror = { version = "1.0" }
ar = { version = "0.9.0" }
log = { version = "0.4" }
llvm-sys = { version = "160" }
aya-rustc-llvm-proxy = { version = "0.5.0", optional = true }
[dev-dependencies]
compiletest_rs = { version = "0.5", path = "third-party/compiletest-rs" }
which = { version = "4.2" }
[[bin]]
name = "bpf-linker"
[features]
rust-llvm = [
"aya-rustc-llvm-proxy",
"llvm-sys/no-llvm-linking",
"llvm-sys/disable-alltargets-init"
]
default = ["rust-llvm"]