tree-sitter/lib/Cargo.toml

52 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"
links = "tree-sitter"
include = [
2024-02-02 00:56:52 -05:00
"/binding_rust/*",
"/Cargo.toml",
"/src/*.h",
"/src/*.c",
"/src/unicode/*",
"/include/tree_sitter/api.h",
]
[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"
2023-12-31 11:33:28 -08:00
rev = "v16.0.0"
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"
2023-12-31 11:33:28 -08:00
rev = "v16.0.0"
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.69.4", optional = true }
cc = "1.0.79"
[lib]
path = "binding_rust/lib.rs"