cargo-crap 0.2.0

Change Risk Anti-Patterns (CRAP) metric for Rust projects
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 = "2024"
rust-version = "1.88"
name = "cargo-crap"
version = "0.2.0"
authors = ["Oleksandr Prokhorenko <warbles.lieu_04@icloud.com>"]
build = false
exclude = [
    "CLAUDE.md",
    "Justfile",
    "clippy.toml",
    "rustfmt.toml",
    "rust-toolchain.toml",
    "**/.DS_Store",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Change Risk Anti-Patterns (CRAP) metric for Rust projects"
homepage = "https://github.com/minikin/cargo-crap"
documentation = "https://docs.rs/cargo-crap"
readme = "README.md"
keywords = [
    "cargo",
    "code-quality",
    "coverage",
    "complexity",
    "metrics",
]
categories = [
    "development-tools::cargo-plugins",
    "development-tools::testing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/minikin/cargo-crap"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/cargo-crap-{ target }.tar.gz"
bin-dir = "cargo-crap{ binary-ext }"
pkg-fmt = "tgz"

[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-url = "{ repo }/releases/download/v{ version }/cargo-crap-{ target }.zip"
pkg-fmt = "zip"

[lib]
name = "cargo_crap"
path = "src/lib.rs"

[[bin]]
name = "cargo-crap"
path = "src/main.rs"

[[test]]
name = "cli"
path = "tests/cli.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[dependencies.anyhow]
version = "1"

[dependencies.clap]
version = "4.4"
features = ["derive"]

[dependencies.comfy-table]
version = "7"

[dependencies.globset]
version = "0.4"

[dependencies.ignore]
version = "0.4"

[dependencies.indicatif]
version = "0.18.4"

[dependencies.lcov]
version = "0.8"

[dependencies.owo-colors]
version = "4"

[dependencies.proc-macro2]
version = "1"
features = ["span-locations"]

[dependencies.rayon]
version = "1"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.syn]
version = "2"
features = [
    "full",
    "visit",
]

[dependencies.toml]
version = "0.8"
features = ["parse"]
default-features = false

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.jsonschema]
version = "0.46"
default-features = false

[dev-dependencies.predicates]
version = "3"

[dev-dependencies.tempfile]
version = "3"

[lints.clippy]
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
implicit_hasher = "allow"
missing_errors_doc = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[profile.mutants]
debug = 0
inherits = "dev"

[profile.release]
lto = "thin"
codegen-units = 1