forked from aya-rs/bpf-linker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
48 lines (42 loc) · 1.21 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
40
41
42
43
44
45
46
47
48
[package]
name = "bpf-linker"
version = "0.9.10"
authors = ["Alessandro Decina <[email protected]>"]
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.4.18", features = ["derive"] }
simplelog = { version = "0.12.1" }
# lib deps
ar = { version = "0.9.0" }
aya-rustc-llvm-proxy = { version = "0.9.0", optional = true }
libc = { version = "0.2.152" }
llvm-sys = { features = ["disable-alltargets-init"], version = "170.0.0" }
log = { version = "0.4.20" }
thiserror = { version = "1.0.56" }
[dev-dependencies]
compiletest_rs = { version = "0.10.1" }
regex = { version = "1.10.3", default-features = false }
rustc-build-sysroot = { version = "0.4.4", default-features = false }
which = { version = "6.0.0", 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