# 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 = "utils-tree-sitter" version = "0.1.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Utils for working with splitter-tree-sitter" readme = "README.md" license = "MIT" repository = "https://github.com/SilasMarvin/lsp-ai" [lib] name = "utils_tree_sitter" path = "src/lib.rs" [dependencies.thiserror] version = "1.0.61" [dependencies.tree-sitter] version = "0.22" [dependencies.tree-sitter-bash] version = "0.21" optional = true [dependencies.tree-sitter-c] version = "0.21" optional = true [dependencies.tree-sitter-c-sharp] version = "0.21" optional = true [dependencies.tree-sitter-cpp] version = "0.22" optional = true [dependencies.tree-sitter-css] version = "0.21" optional = true [dependencies.tree-sitter-elixir] version = "0.2" optional = true [dependencies.tree-sitter-erlang] version = "0.6" optional = true [dependencies.tree-sitter-go] version = "0.21" optional = true [dependencies.tree-sitter-haskell] version = "0.21" optional = true [dependencies.tree-sitter-html] version = "0.20" optional = true [dependencies.tree-sitter-java] version = "0.21" optional = true [dependencies.tree-sitter-javascript] version = "0.21" optional = true [dependencies.tree-sitter-json] version = "0.21" optional = true [dependencies.tree-sitter-lua] version = "0.1.0" optional = true [dependencies.tree-sitter-ocaml] version = "0.22.0" optional = true [dependencies.tree-sitter-python] version = "0.21" optional = true [dependencies.tree-sitter-rust] version = "0.21" optional = true [build-dependencies.cc] version = "1" [features] all = [ "python", "bash", "c", "cpp", "csharp", "css", "elixir", "erlang", "go", "html", "java", "javascript", "json", "rust", "haskell", "lua", "ocaml", ] bash = ["dep:tree-sitter-bash"] c = ["dep:tree-sitter-c"] cpp = ["dep:tree-sitter-cpp"] csharp = ["dep:tree-sitter-c-sharp"] css = ["dep:tree-sitter-css"] default = [] elixir = ["dep:tree-sitter-elixir"] erlang = ["dep:tree-sitter-erlang"] go = ["dep:tree-sitter-go"] haskell = ["dep:tree-sitter-haskell"] html = ["dep:tree-sitter-html"] java = ["dep:tree-sitter-java"] javascript = ["dep:tree-sitter-javascript"] json = ["dep:tree-sitter-json"] lua = ["dep:tree-sitter-lua"] ocaml = ["dep:tree-sitter-ocaml"] python = ["dep:tree-sitter-python"] rust = ["dep:tree-sitter-rust"]