-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
85 lines (75 loc) · 3.18 KB
/
Cargo.toml
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
[package]
name = "zeek-language-server"
version = "0.65.1"
edition = "2021"
license = "GPL-3.0-only"
repository = "https://github.com/bbannier/zeek-language-server"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dev-dependencies]
criterion = { version = "0.5.1", default-features = false, features = ["async_tokio", "html_reports", "plotters"] }
insta = "1.42.1"
tempfile = "3.15.0"
version-sync = "0.9.5"
wiremock = "0.6.2"
[features]
default = []
telemetry = ["opentelemetry", "tracing-opentelemetry", "opentelemetry_sdk", "opentelemetry-otlp"]
[dependencies]
clap = { version = "4.5.27", features = ["std", "derive", "help"], default-features = false }
conv = { version = "0.3.3", default-features = false }
eyre = { default-features = false, version = "0.6.12", features = ["auto-install"] }
futures = { default-features = false, version = "0.3.31" }
itertools = "0.14.0"
line-index = { version = "0.1.2", default-features = false }
notify = { version = "8.0.0" }
opentelemetry = { version = "0.26.0", features = ["trace"], optional = true }
opentelemetry-otlp = { version = "0.26.0", features = ["grpc-tonic", "trace"], default-features = false, optional = true }
opentelemetry-semantic-conventions = { version = "0.27.0", default-features = false }
opentelemetry_sdk = { version = "0.26.0", features = ["rt-tokio", "trace"], default-features = false, optional = true }
path-clean = "1.0.1"
rayon = "1.10.0"
regex = { default-features = false, version = "1.11.1" }
reqwest = { version = "0.12.12", default-features = false }
rust-fuzzy-search = "0.1.1"
rustc-hash = "2.1.0"
salsa = "0.16.1"
semver = { version = "1.0.25", default-features = false }
serde = { version = "1.0.217", default-features = false }
serde_json = { default-features = false, version = "1.0.137" }
smol_str = { version = "0.3.2", default-features = false, features = ["std"] }
streaming-iterator = { version = "0.1.9", default-features = false }
tokio = { version = "1.43.0", features = ["fs", "io-std", "io-util", "rt-multi-thread", "process", "macros", "sync"], default-features = false }
tower-lsp = { version = "0.20.0", features = ["runtime-tokio"], default-features = false }
tracing = { features = ["attributes"], default-features = false, version = "0.1.41" }
tracing-appender = { version = "0.2.3", default-features = false }
tracing-opentelemetry = { version = "0.27.0", optional = true }
tracing-subscriber = { version = "0.3.19", features = ["tracing-log", "registry", "std"], default-features = false }
tree-sitter = "0.24.7"
tree-sitter-highlight = { version = "0.24.7", default-features = false }
tree-sitter-zeek = { path = "crates/tree-sitter-zeek" }
walkdir = "2.5.0"
[workspace]
members = [".", "crates/tree-sitter-zeek"]
[profile.release]
panic = "abort"
strip = true
codegen-units = 1
lto = "thin"
[profile.profiling]
inherits = "release"
debug = true
strip = false
# The profile that 'dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
[[bench]]
name = "criterion"
harness = false
[lints.clippy]
pedantic = { level = "deny", priority = -1 }
unwrap_used = "deny"
missing_errors_doc = "allow"
ignored_unit_patterns = "deny"
clone_on_ref_ptr = "deny"
redundant_clone = "deny"