[package]
edition = "2024"
rust-version = "1.91"
name = "buildprof"
version = "0.2.5"
build = false
include = [
"/src/**",
"/AUTHORS",
"/CHANGELOG.md",
"/Cargo.lock",
"/Cargo.toml",
"/LICENSE",
"/README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Records every process and file access in a build and shows it as an interactive timeline"
homepage = "https://buildprof.lalitm.com"
readme = "README.md"
keywords = [
"build",
"profiling",
"perfetto",
"tracing",
]
categories = [
"command-line-utilities",
"development-tools::profiling",
]
license = "Apache-2.0"
repository = "https://github.com/lalitmaganti/buildprof"
[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"
[[package.metadata.generate-rpm.assets]]
source = "target/release/buildprof"
dest = "/usr/bin/buildprof"
mode = "755"
[[package.metadata.generate-rpm.assets]]
source = "README.md"
dest = "/usr/share/doc/buildprof/README.md"
mode = "644"
doc = true
[[package.metadata.generate-rpm.assets]]
source = "CHANGELOG.md"
dest = "/usr/share/doc/buildprof/CHANGELOG.md"
mode = "644"
doc = true
[[bin]]
name = "buildprof"
path = "src/main.rs"
[dependencies.analyzeme]
version = "12.0.3"
[dependencies.libc]
version = "0.2.175"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.tiny_http]
version = "0.12"
default-features = false
[dependencies.usage]
version = "6"
package = "usage-rs"
[dependencies.yansi]
version = "1"
[dependencies.zstd]
version = "0.13"
[profile.dist]
lto = "thin"
inherits = "release"