Files
json-ls/Cargo.toml
T
oscar d835f841f1 refactor: rename the crate and binary from jls to json-ls
Rename the package and binary, and the user-facing identifiers that used
the old name: the serverInfo name, the diagnostic source, the download
command id (now json-ls.downloadSchema), the cache directory, and the
stderr log prefixes.
2026-07-01 08:51:23 +02:00

54 lines
1.2 KiB
TOML

[package]
name = "json-ls"
version = "0.1.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 = "2"
url = "2"
crossbeam-channel = "0.5"
regex = "1"
[profile.release]
lto = true
[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"