-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathCargo.toml
More file actions
138 lines (128 loc) · 4.53 KB
/
Copy pathCargo.toml
File metadata and controls
138 lines (128 loc) · 4.53 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
[package]
name = "codspeed-runner"
version = "4.18.1"
edition = "2024"
repository = "https://github.com/CodSpeedHQ/codspeed"
publish = false
default-run = "codspeed"
[[bin]]
name = "codspeed"
path = "src/main.rs"
[dependencies]
anyhow = { workspace = true }
clap = { workspace = true, features = ["env", "color"] }
itertools = { workspace = true }
log = { workspace = true }
rand = "0.10"
rayon = "1.12"
regex = "1.12.3"
semver = "1.0"
reqwest = { version = "0.13", default-features = false, features = ["json", "stream", "rustls", "charset", "http2", "system-proxy"] }
reqwest-middleware = { version = "0.5", features = ["json"] }
reqwest-retry = "0.9"
serde = { workspace = true }
serde_json = { workspace = true, features = ["preserve_order"] }
url = "2.5.8"
sha256 = "1.6"
tokio = { version = "1", features = ["macros", "rt"] }
tokio-tar = { package = "astral-tokio-tar", version = "0.6.2" }
tokio-util = "0.7.18"
md5 = "0.8"
base64 = "0.22.1"
async-compression = { version = "0.4.42", features = ["tokio", "gzip"] }
schemars = "1.2.1"
simplelog = { version = "0.12.2", default-features = false, features = ["termcolor"] }
tempfile = { workspace = true }
git2 = "0.21"
nestify = "0.3.3"
gql_client = { git = "https://github.com/CodSpeedHQ/gql-client-rs", rev = "c269153c495b9e4eded1b17c351d499ce43ee516" }
serde_yaml = "0.9.34"
sysinfo = { version = "0.37", features = ["serde"] }
indicatif = "0.18"
console = "0.16"
async-trait = "0.1.89"
libc = { workspace = true }
xattr = "1.6"
bincode = "1.3.3" # Pinned to 1.x: 2.0 changes the wire format and serde integration
object = "0.39"
linux-perf-data = { git = "https://github.com/mstange/linux-perf-data.git", rev = "da5bce4b9fb724e84b1eea0cb6ab9c8a291bc676", features = [
"zstd",
] } # unreleased main as of 2026-03-19
debugid = "0.8.0"
memmap2 = "0.9.10"
nix = { version = "0.31.3", features = ["fs", "time", "user"] }
futures = "0.3.32"
runner-shared = { path = "crates/runner-shared" }
exec-harness = { path = "crates/exec-harness" }
instrument-hooks-bindings = { path = "crates/instrument-hooks-bindings" }
shellexpand = { version = "3.1.2", features = ["tilde"] }
addr2line = "0.26"
gimli = "0.33"
open = "5.3.5"
axoupdater = { version = "0.10.0", features = ["github_releases"] }
tabled = { version = "0.20.0", features = ["ansi"] }
shell-words = "1.1.1"
rmp-serde = "1.3.1"
uuid = { version = "1.23.1", features = ["v4"] }
which = "8.0.2"
crc32fast = "1.5.0"
samply = { path = "crates/samply-codspeed/samply" }
# Memory profiling (memtrack) and the capability handling around it are Linux-only.
[target.'cfg(target_os = "linux")'.dependencies]
procfs = "0.18"
caps = "0.5"
memtrack = { path = "crates/memtrack", default-features = false }
ipc-channel = { workspace = true }
[dev-dependencies]
temp-env = { version = "0.3.6", features = ["async_closure"] }
insta = { workspace = true, features = ["json", "redactions"] }
test-log = { workspace = true }
test-with = { workspace = true }
rstest = { workspace = true }
rstest_reuse = "0.7.0"
shell-quote = "0.7.2"
assert_cmd = "2.2"
predicates = "3.1.4"
strum = { version = "0.28.0", features = ["derive"] }
[workspace]
members = [
"crates/runner-shared",
"crates/memtrack",
"crates/exec-harness",
"crates/instrument-hooks-bindings",
]
exclude = ["crates/samply-codspeed"]
[workspace.dependencies]
anyhow = "1.0"
clap = { version = "4.6", features = ["derive", "env"] }
libc = "0.2"
log = "0.4.28"
serde_json = "1.0"
serde = { version = "1.0.228", features = ["derive"] }
ipc-channel = "0.20"
itertools = "0.14.0"
linux-perf-event-reader = "0.10.2" # matches the version linux-perf-data resolves to
env_logger = "0.11.10"
tempfile = "3.27.0"
object = { version = "0.39", default-features = false, features = ["read_core", "elf"] }
insta = { version = "1.47", default-features = false }
rstest = { version = "0.26", default-features = false }
test-log = "0.2.20"
test-with = { version = "0.16", default-features = false, features = [] }
[workspace.metadata.release]
sign-tag = true
sign-commit = true
shared-version = false
consolidate-commits = false
pre-release-commit-message = "chore: Release {{crate_name}} version {{version}} 🎉"
[package.metadata.release]
pre-release-hook = ["./scripts/pre-release.sh", "v{{version}}"]
[profile.dist]
inherits = "release"
lto = "thin"
strip = true
[package.metadata.dist]
targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-musl", "x86_64-unknown-linux-musl"]
binaries.aarch64-apple-darwin = ["codspeed"]
binaries.aarch64-unknown-linux-musl = ["codspeed"]
binaries.x86_64-unknown-linux-musl = ["codspeed"]