-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
90 lines (85 loc) · 2.72 KB
/
Copy pathCargo.toml
File metadata and controls
90 lines (85 loc) · 2.72 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
# agent-pmo:9a71cbf
[workspace]
resolver = "2"
members = [
"crates/deslop-core",
"crates/deslop",
"crates/deslop-lsp",
"crates/deslop-mcp",
]
[workspace.package]
version = "0.0.0-dev"
edition = "2021"
rust-version = "1.80"
license = "MIT"
repository = "https://github.com/Nimblesite/Deslop"
[workspace.dependencies]
anyhow = "=1.0.86"
thiserror = "=1.0.63"
clap = { version = "=4.5.16", features = ["derive"] }
tracing = "=0.1.40"
tracing-subscriber = { version = "=0.3.18", features = ["env-filter"] }
serde = { version = "=1.0.228", features = ["derive"] }
serde_json = "=1.0.149"
toml = "=0.8.22"
assert_cmd = "=2.0.16"
predicates = "=3.1.2"
tempfile = "=3.12.0"
tree-sitter = "=0.26.8"
tree-sitter-c-sharp = "=0.23.5"
tree-sitter-rust = "=0.24.2"
tree-sitter-python = "=0.25.0"
tree-sitter-dart = "=0.2.0"
ignore = "=0.4.23"
blake3 = "=1.5.4"
getrandom = "=0.2.17"
ureq = { version = "=3.3.0", default-features = false, features = ["json"] }
instant-distance = "=0.6.1"
notify = "=6.1.1"
tokio = { version = "=1.40.0", features = ["rt-multi-thread", "macros", "sync", "io-util", "io-std", "time"] }
tower = { version = "=0.4.13", default-features = false }
tower-lsp = "=0.20.0"
futures = "=0.3.31"
async-trait = "=0.1.83"
[workspace.lints.rust]
unsafe_code = "deny"
missing_docs = "deny"
missing_debug_implementations = "deny"
unused_imports = "deny"
dead_code = "deny"
unused_variables = "deny"
unused_mut = "deny"
unused_assignments = "deny"
unused_results = "deny"
trivial_casts = "deny"
trivial_numeric_casts = "deny"
elided_lifetimes_in_paths = "deny"
future_incompatible = { level = "deny", priority = -1 }
nonstandard_style = { level = "deny", priority = -1 }
rust_2018_idioms = { level = "deny", priority = -1 }
[workspace.lints.clippy]
all = { level = "deny", priority = -1 }
pedantic = { level = "deny", priority = -1 }
unwrap_used = "deny"
expect_used = "deny"
panic = "deny"
todo = "deny"
unimplemented = "deny"
unreachable = "deny"
indexing_slicing = "deny"
# Catches unchecked integer overflow (was `integer_arithmetic`, renamed in
# recent clippy).
arithmetic_side_effects = "deny"
# NOTE: `float_arithmetic = "deny"` is deliberately NOT enabled. The lint is
# only appropriate for crypto / consensus / money / bit-exact-reproducible
# hashing work. For a tool that computes ranking scores and embedding
# cosine similarities, denying float math workspace-wide just forces
# awkward integer workarounds or `#[allow]` suppressions (which the rest
# of our lint profile bans). If a future internal crate genuinely needs
# float-free arithmetic, add `#![deny(clippy::float_arithmetic)]` at that
# crate's root instead of reintroducing it here.
missing_docs_in_private_items = "deny"
[profile.release]
lto = "thin"
codegen-units = 1
strip = "symbols"