# 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.65" name = "tree-sitter" version = "0.22.6" authors = ["Max Brunsfeld "] build = "binding_rust/build.rs" links = "tree-sitter" include = [ "/binding_rust/*", "/Cargo.toml", "/src/*.h", "/src/*.c", "/src/unicode/*", "/src/wasm/*", "/include/tree_sitter/api.h", ] description = "Rust bindings to the Tree-sitter parsing library" homepage = "https://tree-sitter.github.io/tree-sitter" readme = "binding_rust/README.md" keywords = [ "incremental", "parsing", ] categories = [ "api-bindings", "parsing", "text-editors", ] license = "MIT" repository = "https://github.com/tree-sitter/tree-sitter" [lib] path = "binding_rust/lib.rs" [dependencies.regex] version = "1.10.4" [dependencies.wasmtime-c-api] version = "19" optional = true default-features = false package = "wasmtime-c-api-impl" [build-dependencies.bindgen] version = "0.69.4" optional = true [build-dependencies.cc] version = "1.0.95" [features] wasm = ["wasmtime-c-api"]