-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathCargo.toml
More file actions
66 lines (57 loc) · 1.65 KB
/
Copy pathCargo.toml
File metadata and controls
66 lines (57 loc) · 1.65 KB
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
57
58
59
60
61
62
63
64
65
66
[package]
name = "memtrack"
version = "1.4.0"
edition = "2024"
repository = "https://github.com/CodSpeedHQ/codspeed"
publish = false
[lib]
name = "memtrack"
path = "src/lib.rs"
[[bin]]
name = "codspeed-memtrack"
path = "src/main.rs"
required-features = ["ebpf"]
[features]
default = ["ebpf"]
ebpf = ["dep:libbpf-rs", "dep:libbpf-cargo", "dep:vmlinux"]
[dependencies]
anyhow = { workspace = true }
clap = { workspace = true }
crossbeam-channel = { workspace = true }
libc = { workspace = true }
log = { workspace = true }
env_logger = { workspace = true }
serde_json = { workspace = true }
serde = { workspace = true }
runner-shared = { path = "../runner-shared" }
ipc-channel = { workspace = true }
static_assertions = "1.1"
itertools = { workspace = true }
paste = "1.0.15"
libbpf-rs = { version = "0.26", features = ["vendored"], optional = true }
object = { workspace = true }
rayon = "1.12"
parking_lot = "0.12"
typed-builder = "0.23.2"
[build-dependencies]
libbpf-cargo = { version = "0.26", optional = true }
vmlinux = { git = "https://github.com/libbpf/vmlinux.h.git", rev = "991dd4b8dfd8c9d62ce8999521b24f61d9b7fc52", optional = true }
bindgen = "0.72"
[dev-dependencies]
tempfile = { workspace = true }
rstest = { workspace = true }
test-log = { workspace = true }
insta = { workspace = true, features = ["json", "redactions"] }
test-with = { workspace = true }
[package.metadata.dist]
targets = ["aarch64-unknown-linux-gnu", "x86_64-unknown-linux-gnu"]
features = ["libbpf-rs/static"]
[package.metadata.dist.dependencies.apt]
build-essential = "*"
pkgconf = "*"
zlib1g-dev = "*"
libbpf-dev = "*"
# Required for the vendored feature
autopoint = "*"
bison = "*"
flex = "*"