Bumps the cargo group with 8 updates in the / directory: | Package | From | To | | --- | --- | --- | | [bstr](https://github.com/BurntSushi/bstr) | `1.10.0` | `1.11.0` | | [cc](https://github.com/rust-lang/cc-rs) | `1.1.36` | `1.2.1` | | [clap](https://github.com/clap-rs/clap) | `4.5.20` | `4.5.21` | | [clap_complete](https://github.com/clap-rs/clap) | `4.5.37` | `4.5.38` | | [serde](https://github.com/serde-rs/serde) | `1.0.214` | `1.0.215` | | [serde_json](https://github.com/serde-rs/json) | `1.0.132` | `1.0.133` | | [tempfile](https://github.com/Stebalien/tempfile) | `3.13.0` | `3.14.0` | | [thiserror](https://github.com/dtolnay/thiserror) | `1.0.68` | `1.0.69` | Updates `bstr` from 1.10.0 to 1.11.0 - [Commits](https://github.com/BurntSushi/bstr/compare/1.10.0...1.11.0) Updates `cc` from 1.1.36 to 1.2.1 - [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.36...cc-v1.2.1) Updates `clap` from 4.5.20 to 4.5.21 - [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.20...clap_complete-v4.5.21) Updates `clap_complete` from 4.5.37 to 4.5.38 - [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.37...clap_complete-v4.5.38) Updates `serde` from 1.0.214 to 1.0.215 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.214...v1.0.215) Updates `serde_derive` from 1.0.214 to 1.0.215 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.214...v1.0.215) Updates `serde_json` from 1.0.132 to 1.0.133 - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.132...v1.0.133) Updates `tempfile` from 3.13.0 to 3.14.0 - [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md) - [Commits](https://github.com/Stebalien/tempfile/compare/v3.13.0...v3.14.0) Updates `thiserror` from 1.0.68 to 1.0.69 - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.68...1.0.69) --- updated-dependencies: - dependency-name: bstr dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo - dependency-name: cc dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo - dependency-name: clap_complete 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: 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 ... Signed-off-by: dependabot[bot] <support@github.com>
153 lines
4 KiB
TOML
153 lines
4 KiB
TOML
[workspace]
|
|
default-members = ["cli"]
|
|
members = [
|
|
"cli",
|
|
"cli/config",
|
|
"cli/loader",
|
|
"lib",
|
|
"lib/language",
|
|
"tags",
|
|
"highlight",
|
|
"xtask",
|
|
]
|
|
resolver = "2"
|
|
|
|
[workspace.package]
|
|
version = "0.25.0"
|
|
authors = ["Max Brunsfeld <maxbrunsfeld@gmail.com>"]
|
|
edition = "2021"
|
|
rust-version = "1.74.1"
|
|
homepage = "https://tree-sitter.github.io/tree-sitter"
|
|
repository = "https://github.com/tree-sitter/tree-sitter"
|
|
license = "MIT"
|
|
keywords = ["incremental", "parsing"]
|
|
categories = ["command-line-utilities", "parsing"]
|
|
|
|
[workspace.lints.clippy]
|
|
dbg_macro = "deny"
|
|
todo = "deny"
|
|
pedantic = { level = "warn", priority = -1 }
|
|
nursery = { level = "warn", priority = -1 }
|
|
cargo = { level = "warn", priority = -1 }
|
|
|
|
# The lints below are a specific subset of the pedantic+nursery lints
|
|
# that we explicitly allow in the tree-sitter codebase because they either:
|
|
#
|
|
# 1. Contain false positives,
|
|
# 2. Are unnecessary, or
|
|
# 3. Worsen the code
|
|
|
|
branches_sharing_code = "allow"
|
|
cast_lossless = "allow"
|
|
cast_possible_truncation = "allow"
|
|
cast_possible_wrap = "allow"
|
|
cast_precision_loss = "allow"
|
|
cast_sign_loss = "allow"
|
|
checked_conversions = "allow"
|
|
cognitive_complexity = "allow"
|
|
collection_is_never_read = "allow"
|
|
fallible_impl_from = "allow"
|
|
fn_params_excessive_bools = "allow"
|
|
inline_always = "allow"
|
|
if_not_else = "allow"
|
|
items_after_statements = "allow"
|
|
match_wildcard_for_single_variants = "allow"
|
|
missing_errors_doc = "allow"
|
|
missing_panics_doc = "allow"
|
|
module_name_repetitions = "allow"
|
|
multiple_crate_versions = "allow"
|
|
option_if_let_else = "allow"
|
|
or_fun_call = "allow"
|
|
range_plus_one = "allow"
|
|
redundant_clone = "allow"
|
|
redundant_closure_for_method_calls = "allow"
|
|
ref_option = "allow"
|
|
similar_names = "allow"
|
|
string_lit_as_bytes = "allow"
|
|
struct_excessive_bools = "allow"
|
|
struct_field_names = "allow"
|
|
transmute_undefined_repr = "allow"
|
|
too_many_lines = "allow"
|
|
unnecessary_wraps = "allow"
|
|
unused_self = "allow"
|
|
used_underscore_items = "allow"
|
|
|
|
[profile.optimize]
|
|
inherits = "release"
|
|
strip = true # Automatically strip symbols from the binary.
|
|
lto = true # Link-time optimization.
|
|
opt-level = 3 # Optimization level 3.
|
|
codegen-units = 1 # Maximum size reduction optimizations.
|
|
|
|
[profile.size]
|
|
inherits = "optimize"
|
|
opt-level = "s" # Optimize for size.
|
|
|
|
[profile.release-dev]
|
|
inherits = "release"
|
|
lto = false
|
|
debug = true
|
|
debug-assertions = true
|
|
overflow-checks = true
|
|
incremental = true
|
|
codegen-units = 256
|
|
|
|
[workspace.dependencies]
|
|
anstyle = "1.0.8"
|
|
anyhow = "1.0.89"
|
|
bstr = "1.11.0"
|
|
cc = "1.2.1"
|
|
clap = { version = "4.5.21", features = [
|
|
"cargo",
|
|
"derive",
|
|
"env",
|
|
"help",
|
|
"unstable-styles",
|
|
] }
|
|
clap_complete = "4.5.38"
|
|
ctor = "0.2.8"
|
|
ctrlc = { version = "3.4.5", features = ["termination"] }
|
|
dialoguer = { version = "0.11.0", features = ["fuzzy-select"] }
|
|
dirs = "5.0.1"
|
|
filetime = "0.2.25"
|
|
fs4 = "0.9.1"
|
|
git2 = "0.19.0"
|
|
glob = "0.3.1"
|
|
heck = "0.5.0"
|
|
html-escape = "0.2.13"
|
|
indexmap = "2.5.0"
|
|
indoc = "2.0.5"
|
|
lazy_static = "1.5.0"
|
|
libloading = "0.8.5"
|
|
log = { version = "0.4.22", features = ["std"] }
|
|
memchr = "2.7.4"
|
|
once_cell = "1.19.0"
|
|
path-slash = "0.2.1"
|
|
pretty_assertions = "1.4.1"
|
|
rand = "0.8.5"
|
|
regex = "1.10.6"
|
|
regex-syntax = "0.8.4"
|
|
rustc-hash = "2.0.0"
|
|
semver = { version = "1.0.23", features = ["serde"] }
|
|
serde = { version = "1.0.215", features = ["derive"] }
|
|
serde_derive = "1.0.210"
|
|
serde_json = { version = "1.0.133", features = ["preserve_order"] }
|
|
similar = "2.6.0"
|
|
smallbitvec = "2.5.3"
|
|
streaming-iterator = "0.1.9"
|
|
tempfile = "3.14.0"
|
|
thiserror = "1.0.69"
|
|
tiny_http = "0.12.0"
|
|
toml = "0.8.19"
|
|
unindent = "0.2.3"
|
|
url = { version = "2.5.2", features = ["serde"] }
|
|
walkdir = "2.5.0"
|
|
wasmparser = "0.218.0"
|
|
webbrowser = "1.0.2"
|
|
|
|
tree-sitter = { version = "0.25.0", path = "./lib" }
|
|
tree-sitter-generate = { version = "0.25.0", path = "./cli/generate" }
|
|
tree-sitter-loader = { version = "0.25.0", path = "./cli/loader" }
|
|
tree-sitter-config = { version = "0.25.0", path = "./cli/config" }
|
|
tree-sitter-highlight = { version = "0.25.0", path = "./highlight" }
|
|
tree-sitter-tags = { version = "0.25.0", path = "./tags" }
|