forked from ushironoko/octorus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
103 lines (95 loc) · 3.08 KB
/
Copy pathCargo.toml
File metadata and controls
103 lines (95 loc) · 3.08 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
[workspace]
members = [".", "crates/tree-sitter-moonbit", "crates/tree-sitter-vue3"]
[package]
name = "octorus"
version = "0.6.4"
edition = "2021"
authors = ["ushironoko"]
description = "A TUI tool for GitHub PR review, designed for Helix editor users"
license = "MIT"
repository = "https://github.com/ushironoko/octorus"
exclude = ["benches/", ".github/", ".claude/", "assets/", "*.pending-snap", "**/snapshots/"]
[[bin]]
name = "or"
path = "src/main.rs"
[dependencies]
ratatui = "0.30.0"
crossterm = "0.28.1"
tokio = { version = "1.49.0", features = ["rt-multi-thread", "rt", "macros", "sync", "process", "io-util", "time"] }
tokio-util = "0.7.18"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
toml = "0.8.23"
tempfile = "3.24.0"
notify = "6.1.1"
anyhow = "1.0.100"
clap = { version = "4.5.54", features = ["derive"] }
xdg = "2.5.2"
unicode-width = "0.2.2"
syntect = { version = "5.3.0", default-features = false, features = ["default-fancy"] }
syntect-tui = "3.0.4"
two-face = { version = "0.5.1", default-features = false, features = ["syntect-default-fancy"] }
async-trait = "0.1.88"
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.22", features = ["fmt", "env-filter"] }
chrono = "0.4.43"
thiserror = "2.0.18"
smallvec = "1.15.0"
lasso = "0.7.3"
# compile-time perfect hash map for capture-to-scope mapping
phf = { version = "0.13.1", features = ["macros"] }
# tree-sitter for CST-based syntax highlighting
tree-sitter = "0.26.3"
tree-sitter-rust = "0.24.0"
tree-sitter-typescript = "0.23.2"
tree-sitter-javascript = "0.25.0"
tree-sitter-go = "0.25.0"
tree-sitter-python = "0.25.0"
# New languages
tree-sitter-ruby = "0.23.1"
tree-sitter-zig = "1.1.2"
tree-sitter-c = "0.24.1"
tree-sitter-cpp = "0.23.4"
tree-sitter-java = "0.23.5"
tree-sitter-c-sharp = "0.23.1"
# Phase 1: Additional languages
tree-sitter-lua = "0.4.1"
tree-sitter-bash = "0.25.1"
tree-sitter-php = "0.24.2"
tree-sitter-swift = "0.7.1"
# tree-sitter-kotlin-ng = "1.1.0" # TODO: highlights.scm が tree-sitter 互換でない (#lua-match?)
tree-sitter-haskell = "0.23.1"
# tree-sitter-svelte-ng = "1.0.2" # TODO: injection が必要 (syntect にフォールバック)
# Phase 2: MoonBit
tree-sitter-moonbit = { package = "octorus-tree-sitter-moonbit", path = "crates/tree-sitter-moonbit", version = "0.1.0" }
tree-sitter-svelte-ng = "1.0.2"
tree-sitter-html = "0.23.2"
tree-sitter-css = "0.25.0"
# Phase 3c: Vue 3
tree-sitter-vue3 = { package = "octorus-tree-sitter-vue3", path = "crates/tree-sitter-vue3", version = "0.1.0" }
# Phase 4: Markdown
tree-sitter-md = "0.5.2"
# POSIX shell-compatible command splitting for editor commands
shell-words = "1.1.1"
which = "8.0.0"
sha2 = "0.10.8"
[dev-dependencies]
assert_cmd = "2.1.2"
predicates = "3.1.3"
criterion = { version = "0.5.1", features = ["html_reports"] }
rand = "0.9.1"
rand_chacha = "0.9.0"
insta = { version = "1.46.3", features = ["json", "redactions"] }
serial_test = "3.3.1"
[[bench]]
name = "ui_rendering"
harness = false
[[bench]]
name = "diff_parsing"
harness = false
[[bench]]
name = "symbol_search"
harness = false
[profile.release]
strip = true
lto = "thin"