tree-sitter/lib/Cargo.toml

69 lines
1.5 KiB
TOML
Raw Normal View History

[package]
name = "tree-sitter"
version.workspace = true
description = "Rust bindings to the Tree-sitter parsing library"
authors.workspace = true
edition.workspace = true
rust-version = "1.77"
readme = "binding_rust/README.md"
homepage.workspace = true
repository.workspace = true
documentation = "https://docs.rs/tree-sitter"
license.workspace = true
keywords.workspace = true
2024-10-06 01:36:44 -04:00
categories = [
"api-bindings",
"external-ffi-bindings",
"parsing",
"text-editors",
]
build = "binding_rust/build.rs"
links = "tree-sitter"
include = [
"/binding_rust/*",
"/Cargo.toml",
"/src/*.h",
"/src/*.c",
"/src/portable/*",
"/src/unicode/*",
2024-02-21 14:50:56 -05:00
"/src/wasm/*",
"/include/tree_sitter/api.h",
2025-08-15 16:00:23 +03:00
"/LICENSE",
]
2024-10-23 19:29:01 +03:00
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
targets = ["x86_64-unknown-linux-gnu", "x86_64-pc-windows-gnu"]
[lints]
workspace = true
[features]
2024-05-30 16:05:30 +08:00
default = ["std"]
std = ["regex/std", "regex/perf", "regex-syntax/unicode"]
2024-10-23 19:29:01 +03:00
wasm = ["std", "wasmtime-c-api"]
[dependencies]
regex = { version = "1.11.3", default-features = false, features = ["unicode"] }
build(deps): bump the cargo group with 8 updates Bumps the cargo group with 8 updates: | Package | From | To | | --- | --- | --- | | [cc](https://github.com/rust-lang/cc-rs) | `1.2.33` | `1.2.34` | | [filetime](https://github.com/alexcrichton/filetime) | `0.2.25` | `0.2.26` | | [indexmap](https://github.com/indexmap-rs/indexmap) | `2.10.0` | `2.11.0` | | [regex](https://github.com/rust-lang/regex) | `1.11.1` | `1.11.2` | | [regex-syntax](https://github.com/rust-lang/regex) | `0.8.5` | `0.8.6` | | [serde_json](https://github.com/serde-rs/json) | `1.0.142` | `1.0.143` | | [tempfile](https://github.com/Stebalien/tempfile) | `3.20.0` | `3.21.0` | | [thiserror](https://github.com/dtolnay/thiserror) | `2.0.15` | `2.0.16` | Updates `cc` from 1.2.33 to 1.2.34 - [Release notes](https://github.com/rust-lang/cc-rs/releases) - [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.33...cc-v1.2.34) Updates `filetime` from 0.2.25 to 0.2.26 - [Commits](https://github.com/alexcrichton/filetime/commits) Updates `indexmap` from 2.10.0 to 2.11.0 - [Changelog](https://github.com/indexmap-rs/indexmap/blob/main/RELEASES.md) - [Commits](https://github.com/indexmap-rs/indexmap/compare/2.10.0...2.11.0) Updates `regex` from 1.11.1 to 1.11.2 - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/compare/1.11.1...1.11.2) Updates `regex-syntax` from 0.8.5 to 0.8.6 - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/compare/regex-syntax-0.8.5...regex-syntax-0.8.6) Updates `serde_json` from 1.0.142 to 1.0.143 - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.142...v1.0.143) Updates `tempfile` from 3.20.0 to 3.21.0 - [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md) - [Commits](https://github.com/Stebalien/tempfile/commits) Updates `thiserror` from 2.0.15 to 2.0.16 - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/2.0.15...2.0.16) --- updated-dependencies: - dependency-name: cc dependency-version: 1.2.34 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: filetime dependency-version: 0.2.26 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: indexmap dependency-version: 2.11.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo - dependency-name: regex dependency-version: 1.11.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: regex-syntax dependency-version: 0.8.6 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: serde_json dependency-version: 1.0.143 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: tempfile dependency-version: 3.21.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo - dependency-name: thiserror dependency-version: 2.0.16 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo ... Signed-off-by: dependabot[bot] <support@github.com>
2025-08-26 13:55:32 +00:00
regex-syntax = { version = "0.8.6", default-features = false }
tree-sitter-language.workspace = true
streaming-iterator = "0.1.9"
2022-10-24 16:23:09 -07:00
[dependencies.wasmtime-c-api]
version = "33.0.2"
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
2024-12-16 00:48:20 -05:00
features = ["cranelift", "gc-drc"]
[build-dependencies]
build(deps): bump the cargo group with 8 updates Bumps the cargo group with 8 updates: | Package | From | To | | --- | --- | --- | | [anstyle](https://github.com/rust-cli/anstyle) | `1.0.10` | `1.0.11` | | [cc](https://github.com/rust-lang/cc-rs) | `1.2.25` | `1.2.26` | | [clap](https://github.com/clap-rs/clap) | `4.5.39` | `4.5.40` | | [clap_complete](https://github.com/clap-rs/clap) | `4.5.52` | `4.5.54` | | [clap_complete_nushell](https://github.com/clap-rs/clap) | `4.5.6` | `4.5.7` | | [flate2](https://github.com/rust-lang/flate2-rs) | `1.1.1` | `1.1.2` | | [toml](https://github.com/toml-rs/toml) | `0.8.22` | `0.8.23` | | [bindgen](https://github.com/rust-lang/rust-bindgen) | `0.71.1` | `0.72.0` | Updates `anstyle` from 1.0.10 to 1.0.11 - [Commits](https://github.com/rust-cli/anstyle/compare/v1.0.10...v1.0.11) Updates `cc` from 1.2.25 to 1.2.26 - [Release notes](https://github.com/rust-lang/cc-rs/releases) - [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.25...cc-v1.2.26) Updates `clap` from 4.5.39 to 4.5.40 - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.39...clap_complete-v4.5.40) Updates `clap_complete` from 4.5.52 to 4.5.54 - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.52...clap_complete-v4.5.54) Updates `clap_complete_nushell` from 4.5.6 to 4.5.7 - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/clap_complete_nushell-v4.5.6...clap_complete_nushell-v4.5.7) Updates `flate2` from 1.1.1 to 1.1.2 - [Release notes](https://github.com/rust-lang/flate2-rs/releases) - [Commits](https://github.com/rust-lang/flate2-rs/compare/1.1.1...1.1.2) Updates `toml` from 0.8.22 to 0.8.23 - [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.22...toml-v0.8.23) Updates `bindgen` from 0.71.1 to 0.72.0 - [Release notes](https://github.com/rust-lang/rust-bindgen/releases) - [Changelog](https://github.com/rust-lang/rust-bindgen/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-lang/rust-bindgen/compare/v0.71.1...v0.72.0) --- updated-dependencies: - dependency-name: anstyle dependency-version: 1.0.11 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: cc dependency-version: 1.2.26 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: clap dependency-version: 4.5.40 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: clap_complete dependency-version: 4.5.54 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: clap_complete_nushell dependency-version: 4.5.7 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: flate2 dependency-version: 1.1.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: toml dependency-version: 0.8.23 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: bindgen dependency-version: 0.72.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo ... Signed-off-by: dependabot[bot] <support@github.com>
2025-06-09 22:02:43 +00:00
bindgen = { version = "0.72.0", optional = true }
cc.workspace = true
2024-12-16 00:48:20 -05:00
serde_json.workspace = true
[lib]
path = "binding_rust/lib.rs"