-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathCargo.toml
More file actions
107 lines (97 loc) · 2.46 KB
/
Cargo.toml
File metadata and controls
107 lines (97 loc) · 2.46 KB
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
[package]
name = "gittype"
version = "0.9.0"
edition = "2021"
authors = ["unhappychoice"]
description = "A typing practice tool using your own code repositories"
license = "MIT"
repository = "https://github.com/unhappychoice/gittype"
homepage = "https://github.com/unhappychoice/gittype"
documentation = "https://docs.rs/gittype"
keywords = ["typing", "practice", "cli", "git", "code"]
categories = ["command-line-utilities", "games"]
default-run = "gittype"
exclude = [
"*.png",
"*.gif",
"*.jpg",
"*.jpeg",
"docs/",
"examples/",
"tests/fixtures/",
".github/",
]
[[bin]]
name = "gittype"
path = "src/main.rs"
[dependencies]
clap = { version = "4.6", features = ["derive"] }
tree-sitter = "0.25"
tree-sitter-rust = "0.24"
tree-sitter-typescript = "0.23"
tree-sitter-javascript = "0.25"
tree-sitter-python = "0.25"
tree-sitter-ruby = "0.23"
tree-sitter-go = "0.25"
tree-sitter-swift = "0.7"
tree-sitter-kotlin-ng = "1.0"
tree-sitter-java = "0.23"
tree-sitter-php = "0.24"
tree-sitter-c-sharp = "0.23"
tree-sitter-c = "0.24"
tree-sitter-clojure = "0.1"
tree-sitter-cpp = "0.23"
tree-sitter-haskell = "0.23"
tree-sitter-dart = "0.0.4"
tree-sitter-elixir = "0.3"
tree-sitter-erlang = "0.15"
tree-sitter-scala = "0.25"
tree-sitter-zig = "1.0"
crossterm = "0.29"
ratatui = "0.30"
ansi-to-tui = "8.0.1"
rusqlite = { version = "0.39", features = ["bundled"] }
anyhow = "1.0"
thiserror = "2.0"
walkdir = "2.0"
glob = "0.3"
ignore = "0.4"
chrono = { version = "0.4", features = ["serde"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
ctrlc = "3.5.2"
dirs = "6.0"
uuid = { version = "1.23", features = ["v4"] }
rand = { version = "0.10", features = ["std_rng"] }
once_cell = "1.21"
rayon = "1.8"
open = "5.3"
urlencoding = "2.1"
git2 = { version = "0.20", features = ["vendored-openssl", "vendored-libgit2"] }
streaming-iterator = "0.1"
log = "0.4"
log4rs = "1.4"
env_logger = "0.11"
tempfile = "3.25"
tokio = { version = "1.50", features = ["macros", "rt-multi-thread"] }
reqwest = { version = "0.13", features = ["json"] }
async-trait = "0.1"
atty = "0.2"
bincode = { version = "2.0", features = ["serde"] }
flate2 = "1.1"
sha2 = "0.11"
shaku = "0.6"
[dev-dependencies]
paste = "1.0"
insta = "1.47"
criterion = "0.8"
gittype = { path = ".", default-features = false, features = ["test-mocks"] }
[features]
default = []
test-mocks = []
[[bench]]
name = "challenge_generator_bench"
harness = false
[[bench]]
name = "source_code_parser_bench"
harness = false