# 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"
rust-version = "1.90"
name = "karet-syntax"
version = "0.1.0"
authors = ["Justin Chung"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tree-sitter syntactic analysis (highlighting, fold regions, brackets) for karet TUI editors."
homepage = "https://github.com/getkono/karet"
readme = "README.md"
keywords = [
    "tui",
    "editor",
    "ratatui",
    "terminal",
]
categories = [
    "text-editors",
    "command-line-utilities",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/getkono/karet"

[features]
default = []

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

[dependencies.karet-core]
version = "0.1.0"

[dependencies.karet-treesitter]
version = "0.1.0"

[dependencies.thiserror]
version = "2.0.18"

[dev-dependencies.karet-treesitter]
version = "0.1.0"
features = ["lang-rust"]

[lints.clippy]
expect_used = "warn"
panic = "warn"
unwrap_used = "warn"

[lints.rust]
missing_docs = "warn"
