[package]
edition = "2021"
rust-version = "1.64"
name = "crabgrind"
version = "0.2.2"
build = "build.rs"
exclude = [
".gitignore",
"Justfile",
"Cross.toml",
"rustfmt.toml",
"rust-toolchain.toml",
"shell.nix",
"*.sh",
"*.py",
"*.defs",
"*.head",
"tests/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = 'Rust bindings to "Valgrind Client Request" interface'
homepage = "https://github.com/2dav/crabgrind"
documentation = "https://docs.rs/crabgrind"
readme = "README.md"
keywords = [
"valgrind",
"callgrind",
"cachegrind",
"helgrind",
"drd",
]
categories = [
"api-bindings",
"development-tools::profiling",
"development-tools::testing",
]
license = "MIT"
repository = "https://github.com/2dav/crabgrind"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[features]
default = []
opt-out = []
[lib]
name = "crabgrind"
path = "src/lib.rs"
[dev-dependencies.lazy_static]
version = "1"
[dev-dependencies.libc]
version = "0.2"
[dev-dependencies.regex]
version = "1"
[build-dependencies.bindgen]
version = "0.72"
[build-dependencies.cc]
version = "1"
[build-dependencies.pkg-config]
version = "0.3"
[lints.clippy]
cast_lossless = "allow"
inline_always = "allow"
missing_errors_doc = "deny"
must_use_candidate = "allow"
wildcard_imports = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_op_in_unsafe_fn = "warn"
[profile.release]
debug = 2