content: [package]
  name = "tree-sitter"
  version.workspace = true
  description = "Rust bindings to the Tree-sitter parsing library"
  authors.workspace = true
  edition.workspace = true
  rust-version.workspace = true
  readme = "binding_rust/README.md"
  homepage.workspace = true
  repository.workspace = true
  license.workspace = true
  keywords.workspace = true
  categories = ["api-bindings", "parsing", "text-editors"]
  
  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",
  ]
  
  [features]
  wasm = ["wasmtime", "wasmtime-c-api"]
  
  [dependencies]
  regex.workspace = true
  
  [dependencies.wasmtime]
  version = "18.0.1"
  optional = true
  default-features = false
  features = ["cranelift"]
  
  [dependencies.wasmtime-c-api]
  version = "18.0.1"
  optional = true
  package = "wasmtime-c-api-impl"
  default-features = false
  
  [build-dependencies]
  bindgen = { version = "0.69.4", optional = true }
  cc.workspace = true
  
  [lib]
  path = "binding_rust/lib.rs"
  