tree-sitter/Cargo.toml
Max Brunsfeld 38137c71b2 feat!: introduce tree-sitter-language crate for grammar crates to depend on
Co-authored-by: Conrad <conrad@zed.dev>
Co-authored-by: Marshall <marshall@zed.dev>
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
2024-05-24 21:54:07 -04:00

93 lines
2.2 KiB
TOML

[workspace]
default-members = ["cli"]
members = [
"cli",
"cli/config",
"cli/loader",
"lib",
"lib/language",
"tags",
"highlight",
"xtask",
]
resolver = "2"
[workspace.package]
version = "0.22.6"
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"]
[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.profile]
inherits = "optimize"
strip = false
[workspace.dependencies]
ansi_term = "0.12.1"
anstyle = "1.0.6"
anyhow = "1.0.86"
cc = "1.0.98"
clap = { version = "4.5.4", features = [
"cargo",
"derive",
"env",
"help",
"unstable-styles",
] }
ctor = "0.2.8"
ctrlc = { version = "3.4.4", features = ["termination"] }
difference = "2.0.0"
dirs = "5.0.1"
filetime = "0.2.23"
fs4 = "0.8.3"
git2 = "0.18.3"
glob = "0.3.1"
heck = "0.5.0"
html-escape = "0.2.13"
indexmap = "2.2.6"
indoc = "2.0.5"
lazy_static = "1.4.0"
libloading = "0.8.3"
log = { version = "0.4.21", features = ["std"] }
memchr = "2.7.2"
once_cell = "1.19.0"
pretty_assertions = "1.4.0"
rand = "0.8.5"
regex = "1.10.4"
regex-syntax = "0.8.3"
rustc-hash = "1.1.0"
semver = "1.0.23"
serde = { version = "1.0.202", features = ["derive"] }
serde_derive = "1.0.197"
serde_json = { version = "1.0.117", features = ["preserve_order"] }
smallbitvec = "2.5.3"
tempfile = "3.10.1"
thiserror = "1.0.61"
tiny_http = "0.12.0"
toml = "0.8.13"
unindent = "0.2.3"
walkdir = "2.5.0"
wasmparser = "0.206.0"
webbrowser = "1.0.1"
tree-sitter = { version = "0.22.6", path = "./lib" }
tree-sitter-loader = { version = "0.22.6", path = "./cli/loader" }
tree-sitter-config = { version = "0.22.6", path = "./cli/config" }
tree-sitter-highlight = { version = "0.22.6", path = "./highlight" }
tree-sitter-tags = { version = "0.22.6", path = "./tags" }