[package]
edition = "2024"
rust-version = "1.98"
name = "deps-cli"
version = "2.0.0"
authors = ["Andrei G"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI for running deps-lsp's dependency-health checks in CI, pre-commit, and shell workflows"
readme = "README.md"
license = "MIT"
repository = "https://github.com/bug-ops/deps-lsp"
[features]
bundler = ["deps-engine/bundler"]
cargo = ["deps-engine/cargo"]
composer = ["deps-engine/composer"]
dart = ["deps-engine/dart"]
default = [
"cargo",
"npm",
"pypi",
"go",
"bundler",
"dart",
"maven",
"gradle",
"swift",
"composer",
"nuget",
"deno",
"github-actions",
"gitlab-ci",
]
deno = ["deps-engine/deno"]
fuzzing = []
github-actions = ["deps-engine/github-actions"]
gitlab-ci = ["deps-engine/gitlab-ci"]
go = ["deps-engine/go"]
gradle = ["deps-engine/gradle"]
maven = ["deps-engine/maven"]
npm = ["deps-engine/npm"]
nuget = ["deps-engine/nuget"]
pypi = ["deps-engine/pypi"]
swift = ["deps-engine/swift"]
[lib]
name = "deps_cli"
path = "src/lib.rs"
[[bin]]
name = "deps-cli"
path = "src/main.rs"
[[test]]
name = "check_integration"
path = "tests/check_integration.rs"
[[test]]
name = "sarif_schema"
path = "tests/sarif_schema.rs"
[[test]]
name = "update_integration"
path = "tests/update_integration.rs"
[dependencies.clap]
version = "4.6"
features = ["derive"]
[dependencies.deps-core]
version = "2.0.0"
[dependencies.deps-engine]
version = "2.0.0"
[dependencies.ignore]
version = "0.4"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde-sarif]
version = "0.8"
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1.53"
features = [
"macros",
"rt-multi-thread",
"sync",
"time",
]
[dependencies.toml-span]
version = "0.7"
features = ["serde"]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dependencies.url]
version = "2.5"
[dependencies.urlencoding]
version = "2.1"
[dev-dependencies.deps-core]
version = "2.0.0"
features = ["test-util"]
[dev-dependencies.deps-engine]
version = "2.0.0"
features = [
"test-util",
"cargo",
]
[dev-dependencies.insta]
version = "1.48"
features = [
"json",
"redactions",
]
[dev-dependencies.jsonschema]
version = "0.57"
[dev-dependencies.mockito]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
cargo_common_metadata = "allow"
case_sensitive_file_extension_comparisons = "allow"
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
default_trait_access = "allow"
derive_partial_eq_without_eq = "allow"
doc_link_with_quotes = "allow"
doc_markdown = "allow"
expect_used = "warn"
explicit_iter_loop = "allow"
format_push_string = "allow"
ignore_without_reason = "allow"
implicit_hasher = "allow"
indexing_slicing = "warn"
items_after_statements = "allow"
manual_let_else = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_const_for_fn = "allow"
missing_docs_in_private_items = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
needless_collect = "allow"
needless_pass_by_value = "allow"
option_if_let_else = "allow"
or_fun_call = "allow"
redundant_closure_for_method_calls = "allow"
redundant_else = "allow"
redundant_pub_crate = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
single_match_else = "allow"
string_slice = "warn"
too_many_lines = "allow"
uninlined_format_args = "allow"
unnecessary_wraps = "allow"
unused_async = "allow"
unused_self = "allow"
unwrap_used = "warn"
used_underscore_binding = "allow"
wildcard_enum_match_arm = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "allow"
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"