x0k-syntax 0.1.0

Pure tree-sitter syntax tokenizer: maps source code to semantic TokenKind spans with no rendering dependencies, so native and web presenters share one classification and choose their own colors.
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"
rust-version = "1.89"
name = "x0k-syntax"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure tree-sitter syntax tokenizer: maps source code to semantic TokenKind spans with no rendering dependencies, so native and web presenters share one classification and choose their own colors."
readme = "README.md"
keywords = [
    "syntax-highlighting",
    "tree-sitter",
    "tokenizer",
    "highlighting",
    "parsing",
]
categories = [
    "parser-implementations",
    "text-processing",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/0k-dot-computer/x0k-folio"

[features]
default = ["syntax-highlight"]
syntax-highlight = [
    "dep:tree-sitter",
    "dep:tree-sitter-json",
    "dep:tree-sitter-rust",
    "dep:tree-sitter-python",
    "dep:tree-sitter-typescript",
]

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

[dependencies.tracing]
version = "0.1"

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

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

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

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

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