-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
105 lines (95 loc) · 2.2 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[workspace]
members = ["crates/markdown_to_docs"]
[package]
authors = ["Firas al-Khalil <firasalkhalil@gmail.com>"]
build = "build.rs"
description = "A downloader/builder of many tree-sitter parsers"
edition = "2021"
name = "tsdl"
version = "1.3.1" # managed by release.sh
license = "MIT"
[lib]
name = "tsdl"
path = "src/lib.rs"
[[bin]]
name = "tsdl"
path = "src/main.rs"
[package.metadata.tsdl]
build-dir = "tmp"
config = "parsers.toml"
fresh = false
from = "https://github.com/tree-sitter/tree-sitter-"
out = "parsers"
prefix = "libtree-sitter-"
ref = "master"
show-config = false
sys = false
[package.metadata.tree-sitter]
repo = "https://github.com/tree-sitter/tree-sitter"
version = "0.24.7"
[dependencies]
async-compression = { version = "0.4.12", features = ["tokio", "gzip"] }
atty = "0.2"
better-panic = "0.3.0"
clap = { version = "4.5", features = ["cargo", "derive", "env"] }
clap-verbosity-flag = "3.0"
console = "0.15"
derive_more = { version = "1.0", features = [
"as_ref",
"deref",
"display",
"from",
"from_str",
"into",
] }
diff-struct = "0.5"
enum_dispatch = "0.3"
figment = { version = "0.10", features = ["toml", "env"] }
human-panic = "2.0.1"
ignore = "0.4"
indicatif = "0.17"
log = "0.4"
markdown_to_docs = { version = "1.0.0", path = "crates/markdown_to_docs" }
miette = { version = "7.2.0", features = ["fancy"] }
num_cpus = "1.16"
reqwest = { version = "0.12.7", default-features = false, features = [
"http2",
"rustls-tls",
] }
self_update = { version = "0.42.0", default-features = false, features = [
"compression-flate2",
"rustls",
] }
semver = "1.0.23"
serde = { version = "1.0", features = ["derive"] }
tempfile = "3.12.0"
thiserror = "2"
tokio = { version = "1", features = [
"fs",
"process",
"rt-multi-thread",
"sync",
"time",
] }
toml = "0.8"
tracing = "0.1"
tracing-appender = "0.2"
tracing-error = "0.2"
tracing-log = "0.2"
tracing-subscriber = "0.3"
url = "2.5"
[dev-dependencies]
assert_cmd = "2.0"
assert_fs = "1.1"
indoc = "2"
predicates = "3.1"
pretty_assertions = "1.4"
rstest = "0.24.0"
[build-dependencies]
cargo_metadata = "0.19"
const-str = "0.6"
indoc = "2"
serde_json = "1.0"
[lints.clippy]
pedantic = { level = "warn", priority = -1 }
missing-errors-doc = "allow"