texter 0.3.0

A library that simplifies writing an LSP with tree-sitter
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 = "2021"
name = "texter"
version = "0.3.0"
authors = ["Tayfun Bocek <tayfunbocek@live.ca>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library that simplifies writing an LSP with tree-sitter"
readme = "README.md"
keywords = [
    "lsp",
    "tree-sitter",
    "string",
    "editor",
    "ts",
]
license = "MIT"
repository = "https://github.com/airblast-dev/texter"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = [
    "tree-sitter",
    "lsp-types",
]
lsp-types = ["dep:lsp-types"]
tree-sitter = ["dep:tree-sitter"]

[lib]
name = "texter"
path = "src/lib.rs"

[[bench]]
name = "main"
path = "benches/main.rs"
harness = false

[[bench]]
name = "text"
path = "benches/text.rs"

[[bench]]
name = "text_lines"
path = "benches/text_lines.rs"

[dependencies.lsp-types]
version = "0.97.0"
optional = true

[dependencies.memchr]
version = "2.7.4"

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

[dev-dependencies.criterion]
version = "0.5.1"
features = ["html_reports"]

[dev-dependencies.rstest]
version = "0.25.0"

[dev-dependencies.tree-sitter-html]
version = "0.23.2"

[profile.release]
lto = "fat"
codegen-units = 1