# 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 = "arborium"
version = "2.1.1"
build = "build.rs"
links = "arborium"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tree-sitter syntax highlighting with HTML rendering and WASM support"
readme = "README.md"
keywords = [
    "tree-sitter",
    "syntax-highlighting",
    "wasm",
]
categories = [
    "parsing",
    "text-processing",
    "wasm",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bearcove/arborium"

[features]
all-languages = [
    "lang-ada",
    "lang-agda",
    "lang-asciidoc",
    "lang-asm",
    "lang-awk",
    "lang-bash",
    "lang-batch",
    "lang-c",
    "lang-c-sharp",
    "lang-caddy",
    "lang-capnp",
    "lang-clojure",
    "lang-cmake",
    "lang-commonlisp",
    "lang-cpp",
    "lang-css",
    "lang-d",
    "lang-dart",
    "lang-devicetree",
    "lang-diff",
    "lang-dockerfile",
    "lang-dot",
    "lang-elisp",
    "lang-elixir",
    "lang-elm",
    "lang-erlang",
    "lang-fish",
    "lang-fsharp",
    "lang-gleam",
    "lang-glsl",
    "lang-go",
    "lang-graphql",
    "lang-haskell",
    "lang-hcl",
    "lang-hlsl",
    "lang-html",
    "lang-idris",
    "lang-ini",
    "lang-java",
    "lang-javascript",
    "lang-jinja2",
    "lang-jq",
    "lang-json",
    "lang-julia",
    "lang-kdl",
    "lang-kotlin",
    "lang-lean",
    "lang-lua",
    "lang-markdown",
    "lang-matlab",
    "lang-meson",
    "lang-nginx",
    "lang-ninja",
    "lang-nix",
    "lang-objc",
    "lang-ocaml",
    "lang-perl",
    "lang-php",
    "lang-postscript",
    "lang-powershell",
    "lang-prolog",
    "lang-python",
    "lang-query",
    "lang-r",
    "lang-rescript",
    "lang-ron",
    "lang-ruby",
    "lang-rust",
    "lang-scala",
    "lang-scheme",
    "lang-scss",
    "lang-sparql",
    "lang-sql",
    "lang-ssh-config",
    "lang-starlark",
    "lang-svelte",
    "lang-swift",
    "lang-textproto",
    "lang-thrift",
    "lang-tlaplus",
    "lang-toml",
    "lang-tsx",
    "lang-typescript",
    "lang-typst",
    "lang-uiua",
    "lang-vb",
    "lang-verilog",
    "lang-vhdl",
    "lang-vim",
    "lang-vue",
    "lang-x86asm",
    "lang-xml",
    "lang-yaml",
    "lang-yuri",
    "lang-zig",
    "lang-zsh",
]
default = []
lang-ada = ["dep:arborium-ada"]
lang-agda = ["dep:arborium-agda"]
lang-asciidoc = ["dep:arborium-asciidoc"]
lang-asm = ["dep:arborium-asm"]
lang-awk = ["dep:arborium-awk"]
lang-bash = ["dep:arborium-bash"]
lang-batch = ["dep:arborium-batch"]
lang-c = ["dep:arborium-c"]
lang-c-sharp = ["dep:arborium-c-sharp"]
lang-caddy = ["dep:arborium-caddy"]
lang-capnp = ["dep:arborium-capnp"]
lang-clojure = ["dep:arborium-clojure"]
lang-cmake = ["dep:arborium-cmake"]
lang-commonlisp = ["dep:arborium-commonlisp"]
lang-cpp = ["dep:arborium-cpp"]
lang-css = ["dep:arborium-css"]
lang-d = ["dep:arborium-d"]
lang-dart = ["dep:arborium-dart"]
lang-devicetree = ["dep:arborium-devicetree"]
lang-diff = ["dep:arborium-diff"]
lang-dockerfile = ["dep:arborium-dockerfile"]
lang-dot = ["dep:arborium-dot"]
lang-elisp = ["dep:arborium-elisp"]
lang-elixir = ["dep:arborium-elixir"]
lang-elm = ["dep:arborium-elm"]
lang-erlang = ["dep:arborium-erlang"]
lang-fish = ["dep:arborium-fish"]
lang-fsharp = ["dep:arborium-fsharp"]
lang-gleam = ["dep:arborium-gleam"]
lang-glsl = ["dep:arborium-glsl"]
lang-go = ["dep:arborium-go"]
lang-graphql = ["dep:arborium-graphql"]
lang-haskell = ["dep:arborium-haskell"]
lang-hcl = ["dep:arborium-hcl"]
lang-hlsl = ["dep:arborium-hlsl"]
lang-html = ["dep:arborium-html"]
lang-idris = ["dep:arborium-idris"]
lang-ini = ["dep:arborium-ini"]
lang-java = ["dep:arborium-java"]
lang-javascript = ["dep:arborium-javascript"]
lang-jinja2 = ["dep:arborium-jinja2"]
lang-jq = ["dep:arborium-jq"]
lang-json = ["dep:arborium-json"]
lang-julia = ["dep:arborium-julia"]
lang-kdl = ["dep:arborium-kdl"]
lang-kotlin = ["dep:arborium-kotlin"]
lang-lean = ["dep:arborium-lean"]
lang-lua = ["dep:arborium-lua"]
lang-markdown = ["dep:arborium-markdown"]
lang-matlab = ["dep:arborium-matlab"]
lang-meson = ["dep:arborium-meson"]
lang-nginx = ["dep:arborium-nginx"]
lang-ninja = ["dep:arborium-ninja"]
lang-nix = ["dep:arborium-nix"]
lang-objc = ["dep:arborium-objc"]
lang-ocaml = ["dep:arborium-ocaml"]
lang-perl = ["dep:arborium-perl"]
lang-php = ["dep:arborium-php"]
lang-postscript = ["dep:arborium-postscript"]
lang-powershell = ["dep:arborium-powershell"]
lang-prolog = ["dep:arborium-prolog"]
lang-python = ["dep:arborium-python"]
lang-query = ["dep:arborium-query"]
lang-r = ["dep:arborium-r"]
lang-rescript = ["dep:arborium-rescript"]
lang-ron = ["dep:arborium-ron"]
lang-ruby = ["dep:arborium-ruby"]
lang-rust = ["dep:arborium-rust"]
lang-scala = ["dep:arborium-scala"]
lang-scheme = ["dep:arborium-scheme"]
lang-scss = ["dep:arborium-scss"]
lang-sparql = ["dep:arborium-sparql"]
lang-sql = ["dep:arborium-sql"]
lang-ssh-config = ["dep:arborium-ssh-config"]
lang-starlark = ["dep:arborium-starlark"]
lang-svelte = ["dep:arborium-svelte"]
lang-swift = ["dep:arborium-swift"]
lang-textproto = ["dep:arborium-textproto"]
lang-thrift = ["dep:arborium-thrift"]
lang-tlaplus = ["dep:arborium-tlaplus"]
lang-toml = ["dep:arborium-toml"]
lang-tsx = ["dep:arborium-tsx"]
lang-typescript = ["dep:arborium-typescript"]
lang-typst = ["dep:arborium-typst"]
lang-uiua = ["dep:arborium-uiua"]
lang-vb = ["dep:arborium-vb"]
lang-verilog = ["dep:arborium-verilog"]
lang-vhdl = ["dep:arborium-vhdl"]
lang-vim = ["dep:arborium-vim"]
lang-vue = ["dep:arborium-vue"]
lang-x86asm = ["dep:arborium-x86asm"]
lang-xml = ["dep:arborium-xml"]
lang-yaml = ["dep:arborium-yaml"]
lang-yuri = ["dep:arborium-yuri"]
lang-zig = ["dep:arborium-zig"]
lang-zsh = ["dep:arborium-zsh"]

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

[[example]]
name = "ansi_showcase"
path = "examples/ansi_showcase.rs"

[[test]]
name = "html"
path = "tests/html.rs"

[[test]]
name = "svelte"
path = "tests/svelte.rs"

[[test]]
name = "vue"
path = "tests/vue.rs"

[dependencies.arborium-ada]
version = "2.1.0"
optional = true

[dependencies.arborium-agda]
version = "2.1.0"
optional = true

[dependencies.arborium-asciidoc]
version = "2.1.0"
optional = true

[dependencies.arborium-asm]
version = "2.1.0"
optional = true

[dependencies.arborium-awk]
version = "2.1.0"
optional = true

[dependencies.arborium-bash]
version = "2.1.0"
optional = true

[dependencies.arborium-batch]
version = "2.1.0"
optional = true

[dependencies.arborium-c]
version = "2.1.0"
optional = true

[dependencies.arborium-c-sharp]
version = "2.1.0"
optional = true

[dependencies.arborium-caddy]
version = "2.1.0"
optional = true

[dependencies.arborium-capnp]
version = "2.1.0"
optional = true

[dependencies.arborium-clojure]
version = "2.1.0"
optional = true

[dependencies.arborium-cmake]
version = "2.1.0"
optional = true

[dependencies.arborium-commonlisp]
version = "2.1.0"
optional = true

[dependencies.arborium-cpp]
version = "2.1.0"
optional = true

[dependencies.arborium-css]
version = "2.1.0"
optional = true

[dependencies.arborium-d]
version = "2.1.0"
optional = true

[dependencies.arborium-dart]
version = "2.1.0"
optional = true

[dependencies.arborium-devicetree]
version = "2.1.0"
optional = true

[dependencies.arborium-diff]
version = "2.1.0"
optional = true

[dependencies.arborium-dockerfile]
version = "2.1.0"
optional = true

[dependencies.arborium-dot]
version = "2.1.0"
optional = true

[dependencies.arborium-elisp]
version = "2.1.0"
optional = true

[dependencies.arborium-elixir]
version = "2.1.0"
optional = true

[dependencies.arborium-elm]
version = "2.1.0"
optional = true

[dependencies.arborium-erlang]
version = "2.1.0"
optional = true

[dependencies.arborium-fish]
version = "2.1.0"
optional = true

[dependencies.arborium-fsharp]
version = "2.1.0"
optional = true

[dependencies.arborium-gleam]
version = "2.1.0"
optional = true

[dependencies.arborium-glsl]
version = "2.1.0"
optional = true

[dependencies.arborium-go]
version = "2.1.0"
optional = true

[dependencies.arborium-graphql]
version = "2.1.0"
optional = true

[dependencies.arborium-haskell]
version = "2.1.0"
optional = true

[dependencies.arborium-hcl]
version = "2.1.0"
optional = true

[dependencies.arborium-highlight]
version = "2.1.0"
features = ["tree-sitter"]

[dependencies.arborium-hlsl]
version = "2.1.0"
optional = true

[dependencies.arborium-html]
version = "2.1.0"
optional = true

[dependencies.arborium-idris]
version = "2.1.0"
optional = true

[dependencies.arborium-ini]
version = "2.1.0"
optional = true

[dependencies.arborium-java]
version = "2.1.0"
optional = true

[dependencies.arborium-javascript]
version = "2.1.0"
optional = true

[dependencies.arborium-jinja2]
version = "2.1.0"
optional = true

[dependencies.arborium-jq]
version = "2.1.0"
optional = true

[dependencies.arborium-json]
version = "2.1.0"
optional = true

[dependencies.arborium-julia]
version = "2.1.0"
optional = true

[dependencies.arborium-kdl]
version = "2.1.0"
optional = true

[dependencies.arborium-kotlin]
version = "2.1.0"
optional = true

[dependencies.arborium-lean]
version = "2.1.0"
optional = true

[dependencies.arborium-lua]
version = "2.1.0"
optional = true

[dependencies.arborium-markdown]
version = "2.1.0"
optional = true

[dependencies.arborium-matlab]
version = "2.1.0"
optional = true

[dependencies.arborium-meson]
version = "2.1.0"
optional = true

[dependencies.arborium-nginx]
version = "2.1.0"
optional = true

[dependencies.arborium-ninja]
version = "2.1.0"
optional = true

[dependencies.arborium-nix]
version = "2.1.0"
optional = true

[dependencies.arborium-objc]
version = "2.1.0"
optional = true

[dependencies.arborium-ocaml]
version = "2.1.0"
optional = true

[dependencies.arborium-perl]
version = "2.1.0"
optional = true

[dependencies.arborium-php]
version = "2.1.0"
optional = true

[dependencies.arborium-postscript]
version = "2.1.0"
optional = true

[dependencies.arborium-powershell]
version = "2.1.0"
optional = true

[dependencies.arborium-prolog]
version = "2.1.0"
optional = true

[dependencies.arborium-python]
version = "2.1.0"
optional = true

[dependencies.arborium-query]
version = "2.1.0"
optional = true

[dependencies.arborium-r]
version = "2.1.0"
optional = true

[dependencies.arborium-rescript]
version = "2.1.0"
optional = true

[dependencies.arborium-ron]
version = "2.1.0"
optional = true

[dependencies.arborium-ruby]
version = "2.1.0"
optional = true

[dependencies.arborium-rust]
version = "2.1.0"
optional = true

[dependencies.arborium-scala]
version = "2.1.0"
optional = true

[dependencies.arborium-scheme]
version = "2.1.0"
optional = true

[dependencies.arborium-scss]
version = "2.1.0"
optional = true

[dependencies.arborium-sparql]
version = "2.1.0"
optional = true

[dependencies.arborium-sql]
version = "2.1.0"
optional = true

[dependencies.arborium-ssh-config]
version = "2.1.0"
optional = true

[dependencies.arborium-starlark]
version = "2.1.0"
optional = true

[dependencies.arborium-svelte]
version = "2.1.0"
optional = true

[dependencies.arborium-swift]
version = "2.1.0"
optional = true

[dependencies.arborium-textproto]
version = "2.1.0"
optional = true

[dependencies.arborium-theme]
version = "2.1.0"

[dependencies.arborium-thrift]
version = "2.1.0"
optional = true

[dependencies.arborium-tlaplus]
version = "2.1.0"
optional = true

[dependencies.arborium-toml]
version = "2.1.0"
optional = true

[dependencies.arborium-tree-sitter]
version = "2.1.0"

[dependencies.arborium-tsx]
version = "2.1.0"
optional = true

[dependencies.arborium-typescript]
version = "2.1.0"
optional = true

[dependencies.arborium-typst]
version = "2.1.0"
optional = true

[dependencies.arborium-uiua]
version = "2.1.0"
optional = true

[dependencies.arborium-vb]
version = "2.1.0"
optional = true

[dependencies.arborium-verilog]
version = "2.1.0"
optional = true

[dependencies.arborium-vhdl]
version = "2.1.0"
optional = true

[dependencies.arborium-vim]
version = "2.1.0"
optional = true

[dependencies.arborium-vue]
version = "2.1.0"
optional = true

[dependencies.arborium-x86asm]
version = "2.1.0"
optional = true

[dependencies.arborium-xml]
version = "2.1.0"
optional = true

[dependencies.arborium-yaml]
version = "2.1.0"
optional = true

[dependencies.arborium-yuri]
version = "2.1.0"
optional = true

[dependencies.arborium-zig]
version = "2.1.0"
optional = true

[dependencies.arborium-zsh]
version = "2.1.0"
optional = true

[dev-dependencies.indoc]
version = "2"

[target.'cfg(target_family = "wasm")'.dependencies.dlmalloc]
version = "0.2"
