59 lines
1.4 KiB
TOML
59 lines
1.4 KiB
TOML
[package]
|
|
name = "json-ls"
|
|
version = "1.3.0"
|
|
edition = "2024"
|
|
description = "A JSON/JSONC language server"
|
|
license = "Apache-2.0"
|
|
|
|
[[bin]]
|
|
name = "json-ls"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
ureq = { version = "3", default-features = false, features = ["rustls"] }
|
|
crossbeam-channel = "0.5"
|
|
lexopt = "0.3"
|
|
regex = { version = "1", default-features = false, features = [
|
|
"std",
|
|
"perf",
|
|
"unicode-case",
|
|
"unicode-perl",
|
|
] }
|
|
|
|
[profile.release]
|
|
lto = "thin"
|
|
|
|
[lints.rust]
|
|
ambiguous_negative_literals = "warn"
|
|
closure_returning_async_block = "warn"
|
|
elided_lifetimes_in_paths = "warn"
|
|
explicit_outlives_requirements = "warn"
|
|
ffi_unwind_calls = "warn"
|
|
let_underscore_drop = "warn"
|
|
linker_messages = "warn"
|
|
macro_use_extern_crate = "warn"
|
|
meta_variable_misuse = "warn"
|
|
missing_unsafe_on_extern = "warn"
|
|
non_ascii_idents = "warn"
|
|
redundant_imports = "warn"
|
|
redundant_lifetimes = "warn"
|
|
single_use_lifetimes = "warn"
|
|
trivial_numeric_casts = "warn"
|
|
unit_bindings = "warn"
|
|
unnameable_types = "warn"
|
|
unsafe_attr_outside_unsafe = "warn"
|
|
unsafe_op_in_unsafe_fn = "warn"
|
|
unused_crate_dependencies = "warn"
|
|
unused_extern_crates = "warn"
|
|
unused_import_braces = "warn"
|
|
unused_lifetimes = "warn"
|
|
unused_macro_rules = "warn"
|
|
unused_qualifications = "warn"
|
|
|
|
[lints.clippy]
|
|
pedantic = { level = "warn", priority = -1 }
|
|
similar_names = "allow"
|
|
allow_attributes = "warn"
|