-
Notifications
You must be signed in to change notification settings - Fork 142
/
Copy pathCargo.toml
46 lines (40 loc) · 1.42 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
[package]
name = "libbpf-cargo"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
repository.workspace = true
homepage.workspace = true
license.workspace = true
description = "Cargo plugin to build bpf programs"
readme = "README.md"
authors = ["Daniel Xu <[email protected]>", "Daniel Müller <[email protected]>"]
keywords = ["bpf", "ebpf", "libbpf"]
[badges]
maintenance = { status = "actively-developed" }
# Crate is named libbpf-cargo to be consistent with libbpf-rs.
# Binary must be named cargo-${SUBCOMMAND} to interop with cargo.
[[bin]]
name = "cargo-libbpf"
path = "src/main.rs"
[lib]
path = "src/lib.rs"
[features]
# By default the crate uses a vendored libbpf, but requires other
# necessary libs to be present on the system.
default = ["libbpf-rs/default"]
[dependencies]
anyhow = "1.0.40"
cargo_metadata = "0.19.1"
env_logger = { version = "0.11.6", default-features = false, features = ["auto-color", "humantime"] }
libbpf-rs = { version = "=0.25.0-beta.1", default-features = false, path = "../libbpf-rs" }
log = "0.4.25"
memmap2 = "0.5"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tempfile = "3.3"
clap = { version = "4.0.32", features = ["derive"] }
[dev-dependencies]
goblin = "0.9"
test-log = { version = "0.2.16", default-features = false, features = ["log"] }
vmlinux = { git = "https://github.com/libbpf/vmlinux.h.git", rev = "83a228cf37fc65f2d14e4896a04922b5ee531a94" }