boltz-language 0.1.0

Minimal tree-sitter language registry + highlight query runner (no LSP)
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "boltz-language"
version = "0.1.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Minimal tree-sitter language registry + highlight query runner (no LSP)"
readme = false
license = "Apache-2.0"
repository = "https://github.com/boltz-one/rust-dex"
resolver = "2"

[package.metadata.cargo-machete]
ignored = [
    "tree-sitter-rust",
    "tree-sitter-javascript",
    "tree-sitter-typescript",
    "tree-sitter-md",
    "tree-sitter-json",
]

[features]
default = ["lang-rust"]
lang-javascript = ["dep:tree-sitter-javascript"]
lang-json = ["dep:tree-sitter-json"]
lang-markdown = ["dep:tree-sitter-md"]
lang-rust = ["dep:tree-sitter-rust"]
lang-typescript = ["dep:tree-sitter-typescript"]

[lib]
name = "boltz_language"
path = "src/language.rs"
doctest = false

[dependencies.rope]
version = "0.1.0"
package = "boltz-rope"

[dependencies.tree-sitter]
version = "0.26.9"

[dependencies.tree-sitter-javascript]
version = "0.25"
optional = true

[dependencies.tree-sitter-json]
version = "0.24"
optional = true

[dependencies.tree-sitter-md]
version = "0.5"
optional = true

[dependencies.tree-sitter-rust]
version = "0.24.2"
optional = true

[dependencies.tree-sitter-typescript]
version = "0.23"
optional = true

[lints.clippy]
dbg_macro = "deny"
declare_interior_mutable_const = "deny"
disallowed_methods = "deny"
large_enum_variant = "allow"
let_underscore_future = "allow"
nonminimal_bool = "allow"
redundant_clone = "deny"
single_range_in_vec_init = "allow"
todo = "deny"
too_many_arguments = "allow"
type_complexity = "allow"

[lints.clippy.style]
level = "allow"
priority = -1

[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0