deps-core 0.6.0

Core abstractions for deps-lsp: caching, errors, and traits
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.89"
name = "deps-core"
version = "0.6.0"
authors = ["Andrei G"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core abstractions for deps-lsp: caching, errors, and traits"
readme = "README.md"
license = "MIT"
repository = "https://github.com/bug-ops/deps-lsp"

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

[[bench]]
name = "core_benchmarks"
path = "benches/core_benchmarks.rs"
harness = false

[dependencies.async-trait]
version = "0.1"

[dependencies.bytes]
version = "1"

[dependencies.dashmap]
version = "6.1"

[dependencies.futures]
version = "0.3"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "gzip",
]

[dependencies.semver]
version = "1"

[dependencies.serde]
version = "1"

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.49"
features = [
    "sync",
    "time",
    "fs",
]

[dependencies.tower-lsp-server]
version = "0.23"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[dev-dependencies.mockito]
version = "1"

[dev-dependencies.once_cell]
version = "1.21"

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

[dev-dependencies.tokio]
version = "1.49"
features = [
    "macros",
    "rt",
]

[dev-dependencies.tokio-test]
version = "0.4"

[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"
explicit_iter_loop = "allow"
format_push_string = "allow"
future_not_send = "allow"
ignore_without_reason = "allow"
implicit_hasher = "allow"
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_errors_doc = "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"
non_std_lazy_statics = "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"
too_many_lines = "allow"
uninlined_format_args = "allow"
unnecessary_wraps = "allow"
unused_async = "allow"
unused_self = "allow"
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 = "allow"
unreachable_pub = "warn"
unsafe_code = "forbid"