-
Notifications
You must be signed in to change notification settings - Fork 42
/
Cargo.toml
56 lines (49 loc) · 1.46 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
49
50
51
52
53
54
55
56
[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.92"
clap = { version = "4.5.21", 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.1" }
libc = { version = "0.2.164" }
llvm-sys = { features = ["disable-alltargets-init"], version = "191.0.0" }
log = { version = "0.4.22" }
thiserror = { version = "2.0.3" }
tracing = "0.1"
[dev-dependencies]
compiletest_rs = { version = "0.11.0" }
regex = { version = "1.11.1", default-features = false }
rustc-build-sysroot = { version = "0.5.4", default-features = false }
which = { version = "7.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
[patch.crates-io]
compiletest_rs = { git = "https://github.com/Manishearth/compiletest-rs.git" }