2019-01-04 17:01:26 -08:00
|
|
|
[package]
|
|
|
|
|
name = "tree-sitter"
|
|
|
|
|
description = "Rust bindings to the Tree-sitter parsing library"
|
2023-03-13 12:21:19 -07:00
|
|
|
version = "0.20.10"
|
2024-02-14 14:10:51 -05:00
|
|
|
authors.workspace = true
|
|
|
|
|
edition.workspace = true
|
|
|
|
|
rust-version.workspace = true
|
2019-05-07 10:27:45 -07:00
|
|
|
readme = "binding_rust/README.md"
|
2024-02-14 14:10:51 -05:00
|
|
|
homepage.workspace = true
|
|
|
|
|
repository.workspace = true
|
|
|
|
|
license.workspace = true
|
|
|
|
|
keywords.workspace = true
|
2019-01-04 17:01:26 -08:00
|
|
|
categories = ["api-bindings", "parsing", "text-editors"]
|
|
|
|
|
|
2019-05-07 10:27:45 -07:00
|
|
|
build = "binding_rust/build.rs"
|
2023-11-20 09:39:19 -05:00
|
|
|
links = "tree-sitter"
|
2019-05-07 10:27:45 -07:00
|
|
|
|
2019-01-04 17:01:26 -08:00
|
|
|
include = [
|
2024-02-14 14:10:51 -05:00
|
|
|
"/binding_rust/*",
|
|
|
|
|
"/Cargo.toml",
|
|
|
|
|
"/src/*.h",
|
|
|
|
|
"/src/*.c",
|
|
|
|
|
"/src/unicode/*",
|
|
|
|
|
"/include/tree_sitter/api.h",
|
2019-01-04 17:01:26 -08:00
|
|
|
]
|
|
|
|
|
|
2022-01-03 10:57:01 -08:00
|
|
|
[features]
|
2022-10-24 16:23:09 -07:00
|
|
|
wasm = ["wasmtime", "wasmtime-c-api"]
|
2022-01-03 10:57:01 -08:00
|
|
|
|
2019-01-04 17:01:26 -08:00
|
|
|
[dependencies]
|
2024-02-08 06:43:21 -05:00
|
|
|
regex.workspace = true
|
2022-10-24 16:23:09 -07:00
|
|
|
|
|
|
|
|
[dependencies.wasmtime]
|
2023-10-27 12:43:16 +01:00
|
|
|
git = "https://github.com/bytecodealliance/wasmtime"
|
2024-02-12 21:55:22 +00:00
|
|
|
rev = "v17.0.1"
|
2022-10-24 16:23:09 -07:00
|
|
|
optional = true
|
|
|
|
|
default-features = false
|
|
|
|
|
features = ["cranelift"]
|
|
|
|
|
|
|
|
|
|
[dependencies.wasmtime-c-api]
|
2023-10-27 12:43:16 +01:00
|
|
|
git = "https://github.com/bytecodealliance/wasmtime"
|
2024-02-12 21:55:22 +00:00
|
|
|
rev = "v17.0.1"
|
2022-10-24 16:23:09 -07:00
|
|
|
optional = true
|
2023-10-27 12:43:16 +01:00
|
|
|
package = "wasmtime-c-api-impl"
|
2022-10-24 16:23:09 -07:00
|
|
|
default-features = false
|
2019-01-04 17:01:26 -08:00
|
|
|
|
|
|
|
|
[build-dependencies]
|
2024-02-05 19:58:47 +00:00
|
|
|
bindgen = { version = "0.69.4", optional = true }
|
2024-02-08 06:43:21 -05:00
|
|
|
cc.workspace = true
|
2019-01-04 17:01:26 -08:00
|
|
|
|
|
|
|
|
[lib]
|
2019-05-07 10:27:45 -07:00
|
|
|
path = "binding_rust/lib.rs"
|