tree-sitter/lib/Cargo.toml

66 lines
1.4 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
2024-03-12 09:36:54 -04:00
rust-version = "1.65"
readme = "binding_rust/README.md"
homepage.workspace = true
repository.workspace = true
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",
]
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]
build(deps): bump the cargo group across 1 directory with 14 updates Bumps the cargo group with 13 updates in the / directory: | Package | From | To | | --- | --- | --- | | [anstyle](https://github.com/rust-cli/anstyle) | `1.0.7` | `1.0.8` | | [clap](https://github.com/clap-rs/clap) | `4.5.9` | `4.5.16` | | [ctrlc](https://github.com/Detegr/rust-ctrlc) | `3.4.4` | `3.4.5` | | [filetime](https://github.com/alexcrichton/filetime) | `0.2.23` | `0.2.24` | | [indexmap](https://github.com/indexmap-rs/indexmap) | `2.2.6` | `2.4.0` | | [libloading](https://github.com/nagisa/rust_libloading) | `0.8.4` | `0.8.5` | | [regex](https://github.com/rust-lang/regex) | `1.10.5` | `1.10.6` | | [serde](https://github.com/serde-rs/serde) | `1.0.204` | `1.0.208` | | [serde_json](https://github.com/serde-rs/json) | `1.0.120` | `1.0.125` | | [similar](https://github.com/mitsuhiko/similar) | `2.5.0` | `2.6.0` | | [tempfile](https://github.com/Stebalien/tempfile) | `3.10.1` | `3.12.0` | | [thiserror](https://github.com/dtolnay/thiserror) | `1.0.62` | `1.0.63` | | [toml](https://github.com/toml-rs/toml) | `0.8.14` | `0.8.19` | Updates `anstyle` from 1.0.7 to 1.0.8 - [Commits](https://github.com/rust-cli/anstyle/compare/v1.0.7...v1.0.8) Updates `clap` from 4.5.9 to 4.5.16 - [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.9...clap_complete-v4.5.16) Updates `ctrlc` from 3.4.4 to 3.4.5 - [Release notes](https://github.com/Detegr/rust-ctrlc/releases) - [Commits](https://github.com/Detegr/rust-ctrlc/compare/3.4.4...3.4.5) Updates `filetime` from 0.2.23 to 0.2.24 - [Commits](https://github.com/alexcrichton/filetime/compare/0.2.23...0.2.24) Updates `indexmap` from 2.2.6 to 2.4.0 - [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md) - [Commits](https://github.com/indexmap-rs/indexmap/compare/2.2.6...2.4.0) Updates `libloading` from 0.8.4 to 0.8.5 - [Commits](https://github.com/nagisa/rust_libloading/compare/0.8.4...0.8.5) Updates `regex` from 1.10.5 to 1.10.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/1.10.5...1.10.6) Updates `serde` from 1.0.204 to 1.0.208 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.204...v1.0.208) Updates `serde_derive` from 1.0.204 to 1.0.208 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.204...v1.0.208) Updates `serde_json` from 1.0.120 to 1.0.125 - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.120...1.0.125) Updates `similar` from 2.5.0 to 2.6.0 - [Changelog](https://github.com/mitsuhiko/similar/blob/main/CHANGELOG.md) - [Commits](https://github.com/mitsuhiko/similar/compare/2.5.0...2.6.0) Updates `tempfile` from 3.10.1 to 3.12.0 - [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md) - [Commits](https://github.com/Stebalien/tempfile/commits) Updates `thiserror` from 1.0.62 to 1.0.63 - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.62...1.0.63) Updates `toml` from 0.8.14 to 0.8.19 - [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.14...toml-v0.8.19) --- updated-dependencies: - dependency-name: anstyle dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: ctrlc dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: filetime dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: indexmap dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo - dependency-name: libloading dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: regex dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: serde_derive dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: similar dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo - dependency-name: tempfile dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: toml dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo ... Signed-off-by: dependabot[bot] <support@github.com>
2024-08-16 16:33:29 +00:00
regex = { version = "1.10.6", default-features = false, features = ["unicode"] }
2024-05-30 16:05:30 +08:00
regex-syntax = { version = "0.8.4", default-features = false }
tree-sitter-language = { version = "0.1", path = "language" }
streaming-iterator = "0.1.9"
2022-10-24 16:23:09 -07:00
[dependencies.wasmtime-c-api]
version = "26.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
2024-08-16 14:02:56 +02:00
features = ["cranelift"]
[build-dependencies]
build(deps): bump the cargo group across 1 directory with 11 updates Bumps the cargo group with 10 updates in the / directory: | Package | From | To | | --- | --- | --- | | [anyhow](https://github.com/dtolnay/anyhow) | `1.0.86` | `1.0.89` | | [cc](https://github.com/rust-lang/cc-rs) | `1.1.14` | `1.1.19` | | [clap](https://github.com/clap-rs/clap) | `4.5.16` | `4.5.17` | | [filetime](https://github.com/alexcrichton/filetime) | `0.2.24` | `0.2.25` | | [indexmap](https://github.com/indexmap-rs/indexmap) | `2.4.0` | `2.5.0` | | [pretty_assertions](https://github.com/rust-pretty-assertions/rust-pretty-assertions) | `1.4.0` | `1.4.1` | | [serde](https://github.com/serde-rs/serde) | `1.0.209` | `1.0.210` | | [serde_json](https://github.com/serde-rs/json) | `1.0.127` | `1.0.128` | | [webbrowser](https://github.com/amodm/webbrowser-rs) | `1.0.1` | `1.0.2` | | [bindgen](https://github.com/rust-lang/rust-bindgen) | `0.69.4` | `0.70.1` | Updates `anyhow` from 1.0.86 to 1.0.89 - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.86...1.0.89) Updates `cc` from 1.1.14 to 1.1.19 - [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.1.14...cc-v1.1.19) Updates `clap` from 4.5.16 to 4.5.17 - [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.16...clap_complete-v4.5.17) Updates `filetime` from 0.2.24 to 0.2.25 - [Commits](https://github.com/alexcrichton/filetime/compare/0.2.24...0.2.25) Updates `indexmap` from 2.4.0 to 2.5.0 - [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md) - [Commits](https://github.com/indexmap-rs/indexmap/compare/2.4.0...2.5.0) Updates `pretty_assertions` from 1.4.0 to 1.4.1 - [Release notes](https://github.com/rust-pretty-assertions/rust-pretty-assertions/releases) - [Changelog](https://github.com/rust-pretty-assertions/rust-pretty-assertions/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-pretty-assertions/rust-pretty-assertions/compare/v1.4.0...v1.4.1) Updates `serde` from 1.0.209 to 1.0.210 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.209...v1.0.210) Updates `serde_derive` from 1.0.209 to 1.0.210 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.209...v1.0.210) Updates `serde_json` from 1.0.127 to 1.0.128 - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/1.0.127...1.0.128) Updates `webbrowser` from 1.0.1 to 1.0.2 - [Release notes](https://github.com/amodm/webbrowser-rs/releases) - [Changelog](https://github.com/amodm/webbrowser-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/amodm/webbrowser-rs/compare/v1.0.1...v1.0.2) Updates `bindgen` from 0.69.4 to 0.70.1 - [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.69.4...v0.70.1) --- updated-dependencies: - dependency-name: anyhow dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: cc dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: filetime dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: indexmap dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo - dependency-name: pretty_assertions dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: serde_derive dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: webbrowser dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: bindgen dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo ... Signed-off-by: dependabot[bot] <support@github.com>
2024-09-16 21:37:01 +00:00
bindgen = { version = "0.70.1", optional = true }
cc.workspace = true
[lib]
path = "binding_rust/lib.rs"