crabgrind 0.3.0

Rust bindings to "Valgrind Client Request" interface
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.71"
name = "crabgrind"
version = "0.3.0"
build = "build.rs"
exclude = [
    ".gitignore",
    "Justfile",
    "Cross.toml",
    "rustfmt.toml",
    "rust-toolchain.toml",
    "shell.nix",
    "*.sh",
    "*.py",
    "*.defs",
    "*.head",
    "*.dict",
    "*.json",
    "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",
    "memcheck",
    "client-requests",
]
categories = [
    "api-bindings",
    "development-tools::profiling",
    "development-tools::testing",
]
license = "MIT"
repository = "https://github.com/2dav/crabgrind"

[package.metadata.docs.rs]
targets = []
no-default-features = true

[features]
default = ["valgrind"]
opt-out = []
valgrind = [
    "dep:cc",
    "dep:bindgen",
    "dep:pkg-config",
]

[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"
optional = true

[build-dependencies.cc]
version = "1"
optional = true

[build-dependencies.pkg-config]
version = "0.3"
optional = true

[build-dependencies.rustversion]
version = "1.0"

[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