[package]
name = "buildprof"
version = "0.2.2"
description = "Record Linux build processes and file access as a Perfetto trace"
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"
[profile.dist]
inherits = "release"
lto = "thin"
[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 = "Profiler for software builds"
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 },
]