[package]
edition = "2024"
name = "clippier"
version = "0.2.0"
authors = ["Braden Steffaniak"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MoosicBox clippier package"
readme = "README.md"
keywords = [
"clippier",
"util",
"utilities",
"utils",
]
categories = ["development-tools"]
license = "MPL-2.0"
repository = "https://github.com/MoosicBox/MoosicBox"
[package.metadata]
examples = true
tests = false
[package.metadata.cargo-machete]
ignored-dirs = [
"test-resources",
"tests/transforms/fixtures",
]
[package.metadata.workspaces]
independent = true
[features]
_tools = [
"dep:rayon",
"dep:which",
]
_transforms = []
_workspace = []
cargo-workspace = ["_workspace"]
check = ["_tools"]
default = [
"cargo-workspace",
"check",
"format",
"git-diff",
"node-workspace",
"publish",
"tools-tui",
"transforms-vendored",
]
fail-on-warnings = [
"moosicbox_log_runtime/fail-on-warnings",
"switchy_async/fail-on-warnings",
"switchy_fs/fail-on-warnings",
"switchy_random/fail-on-warnings",
]
format = ["_tools"]
git-diff = ["dep:git2"]
node-workspace = [
"_workspace",
"dep:serde_yaml",
]
publish = [
"dep:cargo_metadata",
"dep:reqwest",
"switchy_async/net",
"switchy_async/time",
]
test-utils = ["switchy_fs/simulator-real-fs"]
tools-tui = [
"_tools",
"dep:ctrlc",
"dep:ratatui",
]
transforms-system = [
"_transforms",
"dep:mlua",
]
transforms-vendored = [
"_transforms",
"mlua/vendored",
]
[lib]
name = "clippier"
path = "src/lib.rs"
[[bin]]
name = "clippier"
path = "src/main.rs"
required-features = []
[[test]]
name = "affected_packages_tests"
path = "tests/affected_packages_tests.rs"
[[test]]
name = "business_logic_tests"
path = "tests/business_logic_tests.rs"
[[test]]
name = "chunking_spreading_regression_tests"
path = "tests/chunking_spreading_regression_tests.rs"
[[test]]
name = "command_tests"
path = "tests/command_tests.rs"
[[test]]
name = "core_parsing_tests"
path = "tests/core_parsing_tests.rs"
[[test]]
name = "dockerfile_tests"
path = "tests/dockerfile_tests.rs"
[[test]]
name = "error_handling_tests"
path = "tests/error_handling_tests.rs"
[[test]]
name = "expression_assertions"
path = "tests/expression_assertions.rs"
[[test]]
name = "expression_filter_integration_tests"
path = "tests/expression_filter_integration_tests.rs"
[[test]]
name = "external_deps_test"
path = "tests/external_deps_test.rs"
required-features = [
"git-diff",
"test-utils",
]
[[test]]
name = "feature_validator_edge_cases"
path = "tests/feature_validator_edge_cases.rs"
[[test]]
name = "feature_validator_integration"
path = "tests/feature_validator_integration.rs"
required-features = ["test-utils"]
[[test]]
name = "feature_validator_skip_features_tests"
path = "tests/feature_validator_skip_features_tests.rs"
[[test]]
name = "ignore_patterns_tests"
path = "tests/ignore_patterns_tests.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
required-features = [
"git-diff",
"test-utils",
]
[[test]]
name = "node_workspace_integration_tests"
path = "tests/node_workspace_integration_tests.rs"
[[test]]
name = "override_array_tests"
path = "tests/override_array_tests.rs"
[[test]]
name = "package_filter_integration_tests"
path = "tests/package_filter_integration_tests.rs"
[[test]]
name = "packages_filter_tests"
path = "tests/packages_filter_tests.rs"
[[test]]
name = "parent_validation_tests"
path = "tests/parent_validation_tests.rs"
[[test]]
name = "parser_comprehensive_tests"
path = "tests/parser_comprehensive_tests.rs"
[[test]]
name = "parser_test_helpers"
path = "tests/parser_test_helpers.rs"
[[test]]
name = "propagation_tests"
path = "tests/propagation_tests.rs"
[[test]]
name = "real_world_scenarios_tests"
path = "tests/real_world_scenarios_tests.rs"
[[test]]
name = "real_world_test"
path = "tests/real_world_test.rs"
required-features = [
"git-diff",
"test-utils",
]
[[test]]
name = "tokenizer_edge_cases_tests"
path = "tests/tokenizer_edge_cases_tests.rs"
[[test]]
name = "transforms_tests"
path = "tests/transforms_tests.rs"
required-features = ["_transforms"]
[[test]]
name = "workspace_config_tests"
path = "tests/workspace_config_tests.rs"
[[test]]
name = "workspace_deps_tests"
path = "tests/workspace_deps_tests.rs"
[[test]]
name = "workspace_glob_members_tests"
path = "tests/workspace_glob_members_tests.rs"
[[test]]
name = "workspace_toolchains_tests"
path = "tests/workspace_toolchains_tests.rs"
[dependencies.anyhow]
version = "1.0.102"
[dependencies.async-trait]
version = "0.1.89"
[dependencies.cargo_metadata]
version = "0.23.1"
optional = true
[dependencies.chrono]
version = "0.4.44"
features = [
"clock",
"serde",
]
default-features = false
[dependencies.clap]
version = "4.6.1"
features = ["derive"]
[dependencies.ctrlc]
version = "3.5.2"
optional = true
[dependencies.git2]
version = "0.20.4"
optional = true
[dependencies.globset]
version = "0.4.18"
default-features = false
[dependencies.itertools]
version = "0.14.0"
[dependencies.log]
version = "0.4.29"
features = ["release_max_level_trace"]
[dependencies.mlua]
version = "0.11.6"
features = [
"lua54",
"serialize",
]
optional = true
default-features = false
[dependencies.moosicbox_log_runtime]
version = "0.2.0"
features = [
"env-filter",
"file",
"layer-ext",
"log-compat",
]
default-features = false
[dependencies.ratatui]
version = "0.30.0"
optional = true
[dependencies.rayon]
version = "1.12.0"
optional = true
default-features = false
[dependencies.regex]
version = "1.12.3"
[dependencies.reqwest]
version = "0.13.3"
features = [
"rustls",
"stream",
]
optional = true
default-features = false
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
[dependencies.serde_yaml]
version = "0.9.34"
optional = true
[dependencies.switchy_async]
version = "0.2.0"
features = [
"macros",
"process",
"sync",
"tokio",
]
default-features = false
[dependencies.switchy_fs]
version = "0.2.0"
features = [
"async",
"simulator-real-fs",
"std",
"sync",
"tokio",
]
default-features = false
[dependencies.switchy_random]
version = "0.2.0"
features = ["rand"]
default-features = false
[dependencies.thiserror]
version = "2.0.18"
[dependencies.toml]
version = "1.1.2"
[dependencies.which]
version = "8.0.2"
features = ["real-sys"]
optional = true
default-features = false