-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
159 lines (132 loc) · 4.05 KB
/
Cargo.toml
File metadata and controls
159 lines (132 loc) · 4.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
[workspace]
members = ["crates/*"]
exclude = ["crates/deps-zed"]
resolver = "3"
[workspace.package]
version = "0.9.3"
edition = "2024"
rust-version = "1.89"
authors = ["Andrei G"]
license = "MIT"
repository = "https://github.com/bug-ops/deps-lsp"
[workspace.dependencies]
async-trait = "0.1"
criterion = "0.8"
dashmap = "6.1"
deps-core = { version = "0.9.3", path = "crates/deps-core" }
deps-cargo = { version = "0.9.3", path = "crates/deps-cargo" }
deps-npm = { version = "0.9.3", path = "crates/deps-npm" }
deps-pypi = { version = "0.9.3", path = "crates/deps-pypi" }
deps-go = { version = "0.9.3", path = "crates/deps-go" }
deps-bundler = { version = "0.9.3", path = "crates/deps-bundler" }
deps-dart = { version = "0.9.3", path = "crates/deps-dart" }
deps-maven = { version = "0.9.3", path = "crates/deps-maven" }
deps-composer = { version = "0.9.3", path = "crates/deps-composer" }
deps-gradle = { version = "0.9.3", path = "crates/deps-gradle" }
deps-swift = { version = "0.9.3", path = "crates/deps-swift" }
deps-lsp = { version = "0.9.3", path = "crates/deps-lsp" }
futures = "0.3"
insta = "1.47.0"
mockito = "1"
node-semver = "2.2"
pep440_rs = "0.7"
pep508_rs = "0.9"
bytes = "1"
regex = "1"
reqwest = "0.13"
semver = "1"
serde = "1"
serde_json = "1"
tempfile = "3"
thiserror = "2"
tokio = "1.49"
tokio-test = "0.4"
toml-span = "0.7"
tower-lsp-server = "0.23"
tracing = "0.1"
tracing-subscriber = "0.3"
urlencoding = "2.1"
quick-xml = "0.39"
yaml-rust2 = "0.11"
zed_extension_api = "0.7"
[workspace.lints.rust]
unsafe_code = "forbid"
missing_docs = "allow"
missing_debug_implementations = "allow"
unreachable_pub = "warn"
[workspace.lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
cargo = { level = "warn", priority = -1 }
# Allowed lints - too noisy for this codebase
module_name_repetitions = "allow"
similar_names = "allow"
too_many_lines = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
single_match_else = "allow"
# Documentation lints - allow for now, can enable incrementally
doc_markdown = "allow"
missing_docs_in_private_items = "allow"
# Cargo lints - metadata can be added later
cargo_common_metadata = "allow"
# Nursery lints that are too pedantic
option_if_let_else = "allow"
future_not_send = "allow"
redundant_pub_crate = "allow"
# Pattern-matching lints - allow for now
wildcard_enum_match_arm = "allow"
redundant_else = "allow"
# Style lints - allow for readability
manual_let_else = "allow"
items_after_statements = "allow"
# Type conversion lints - allow where intentional
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
# Nursery performance lints that need review
significant_drop_tightening = "allow"
# Cargo lints that conflict with workspace setup
multiple_crate_versions = "allow"
# Style lints - allow for now, can be fixed incrementally
uninlined_format_args = "allow"
explicit_iter_loop = "allow"
redundant_closure_for_method_calls = "allow"
match_wildcard_for_single_variants = "allow"
# Function lints - allow for now
missing_const_for_fn = "allow"
unnecessary_wraps = "allow"
# LazyLock migration - allow until we can target newer MSRV
non_std_lazy_statics = "allow"
# HashMap generics - too noisy for internal APIs
implicit_hasher = "allow"
# Performance lints that are pedantic
map_unwrap_or = "allow"
needless_collect = "allow"
or_fun_call = "allow"
format_push_string = "allow"
# Documentation lints
doc_link_with_quotes = "allow"
# Derive lints - can be fixed incrementally
derive_partial_eq_without_eq = "allow"
# Test-specific lints
used_underscore_binding = "allow"
ignore_without_reason = "allow"
# API design lints that need review
unused_self = "allow"
unused_async = "allow"
# Pattern matching lints
match_same_arms = "allow"
# File extension checks - too strict
case_sensitive_file_extension_comparisons = "allow"
# Style preferences
default_trait_access = "allow"
needless_pass_by_value = "allow"
[profile.release]
lto = true
codegen-units = 1
strip = true
[profile.bench]
debug = true