Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
61 lines (57 loc) · 2.08 KB
/
Copy pathCargo.toml
File metadata and controls
61 lines (57 loc) · 2.08 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
[package]
name = "buildprof"
version = "0.2.8"
description = "Records every process and file access in a build and shows it as an interactive timeline"
license = "Apache-2.0"
readme = "README.md"
homepage = "https://buildprof.lalitm.com"
repository = "https://github.com/lalitmaganti/buildprof"
keywords = ["build", "profiling", "perfetto", "tracing"]
categories = ["command-line-utilities", "development-tools::profiling"]
edition = "2024"
rust-version = "1.91"
include = [
"/src/**",
"/AUTHORS",
"/CHANGELOG.md",
"/Cargo.lock",
"/Cargo.toml",
"/LICENSE",
"/README.md",
]
[dependencies]
analyzeme = "12.0.3"
usage = { package = "usage-rs", version = "6" }
libc = "0.2.175"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
zstd = "0.13"
tiny_http = { version = "0.12", default-features = false }
yansi = "1"
# The profile that 'dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
# Linux packages are produced from the release tarballs by
# .github/workflows/packages.yml, so both tools run with prebuilt binaries.
[package.metadata.deb]
maintainer = "Lalit Maganti <lalitmaganti@gmail.com>"
section = "devel"
priority = "optional"
extended-description = """\
Buildprof records every process a build starts and every file it opens, and
turns the recording into an interactive timeline in the browser. It works below
any build system: Make, Ninja, CMake, Meson, Cargo, Go, and wrapper scripts."""
assets = [
["target/release/buildprof", "usr/bin/", "755"],
["README.md", "usr/share/doc/buildprof/README.md", "644"],
["CHANGELOG.md", "usr/share/doc/buildprof/CHANGELOG.md", "644"],
]
[package.metadata.generate-rpm]
summary = "Records every process and file access in a build and shows it as an interactive timeline"
license = "Apache-2.0"
assets = [
{ source = "target/release/buildprof", dest = "/usr/bin/buildprof", mode = "755" },
{ source = "README.md", dest = "/usr/share/doc/buildprof/README.md", mode = "644", doc = true },
{ source = "CHANGELOG.md", dest = "/usr/share/doc/buildprof/CHANGELOG.md", mode = "644", doc = true },
]