tree-sitter/lib/Cargo.toml

51 lines
1.1 KiB
TOML
Raw Normal View History

[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"
authors = ["Max Brunsfeld <maxbrunsfeld@gmail.com>"]
2023-02-15 14:03:36 -08:00
edition = "2021"
license = "MIT"
readme = "binding_rust/README.md"
keywords = ["incremental", "parsing"]
categories = ["api-bindings", "parsing", "text-editors"]
2019-08-19 16:36:40 -07:00
repository = "https://github.com/tree-sitter/tree-sitter"
rust-version.workspace = true
build = "binding_rust/build.rs"
include = [
"/binding_rust/*",
"/Cargo.toml",
2019-02-05 12:12:21 -08:00
"/include/*",
2020-09-24 15:22:52 -07:00
"/src/*.h",
"/src/*.c",
"/src/unicode/*",
]
[features]
2022-10-24 16:23:09 -07:00
wasm = ["wasmtime", "wasmtime-c-api"]
[dependencies]
2023-07-19 03:15:03 -04:00
regex = "1.9.1"
2022-10-24 16:23:09 -07:00
[dependencies.wasmtime]
2023-10-27 12:43:16 +01:00
git = "https://github.com/bytecodealliance/wasmtime"
rev = "fa6fcd946b8f6d60c2d191a1b14b9399e261a76d"
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"
rev = "fa6fcd946b8f6d60c2d191a1b14b9399e261a76d"
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
[build-dependencies]
bindgen = { version = "^0.66.1", optional = true }
2023-07-19 03:15:03 -04:00
cc = "^1.0.79"
[lib]
path = "binding_rust/lib.rs"