-
-
Notifications
You must be signed in to change notification settings - Fork 269
Expand file tree
/
Copy pathCargo.toml
More file actions
83 lines (71 loc) · 2.81 KB
/
Copy pathCargo.toml
File metadata and controls
83 lines (71 loc) · 2.81 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
[package]
name = "tuicr"
version = "0.26.0"
edition = "2024"
description = "Review AI-generated diffs like a GitHub pull request, right from your terminal."
license = "MIT"
repository = "https://github.com/agavra/tuicr"
homepage = "https://github.com/agavra/tuicr"
readme = "README.md"
keywords = ["tui", "git", "code-review", "diff", "cli"]
categories = ["command-line-utilities", "development-tools"]
[dependencies]
# TUI framework
# `unstable-rendered-line-info` exposes `Paragraph::line_count`, which we use to
# measure each line's word-wrapped height with ratatui's own wrapping engine so
# per-row diff backgrounds/overlays align exactly with the rendered text.
ratatui = { version = "0.30", features = ["unstable-rendered-line-info"] }
crossterm = "0.29"
# Vim-style modal editing engine for the review comment box (opt-in via
# `comment_vim`). Used as the editing model + input engine only; we keep our
# own rendering, so its widget/clipboard/syntax features are disabled.
edtui = { version = "0.11", default-features = false }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "0.8"
# Date/time
chrono = { version = "0.4", default-features = false, features = ["std", "clock", "serde"] }
# Error handling
thiserror = "2.0"
anyhow = "1.0"
# CLI parsing
clap = { version = "4", features = ["derive"] }
# Utilities
directories = "6.0"
ureq = { version = "3", features = ["json"] }
unicode-width = "0.2"
uuid = { version = "1.0", features = ["v4"] }
arboard = { version = "3.4", features = ["wayland-data-control"] }
base64 = "0.22"
ignore = "0.4"
# User-supplied include/exclude patterns for the file tree filter.
regex = "1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["fmt"] }
shlex = "1.3"
sha1 = "0.10"
# `tuicr update`: stage verified binaries and swap the running executable safely.
self-replace = "1.5"
tempfile = "3.24.0"
# `tuicr update`: compare Cargo release versions using SemVer rules.
semver = "1"
# `tuicr update`: verify GitHub's SHA-256 digest.
sha2 = "0.10"
# `tuicr update`: read the published Unix .tar.gz archives.
flate2 = "1"
tar = "0.4"
# `tuicr update`: read the published Windows .zip archive.
zip = { version = "4", default-features = false, features = ["deflate-flate2"] }
# Syntax highlighting
syntect = "5.2"
two-face = { version = "0.5", default-features = false, features = ["syntect-default-fancy"] }
# Terminal background detection
terminal-colorsaurus = "1"
pulldown-cmark = { version = "0.13.4", default-features = false }
# Git operations
[target.'cfg(not(target_env = "musl"))'.dependencies]
git2 = { version = "0.20", default-features = false }
# Static Linux builds need a target-native zlib instead of the host library.
[target.'cfg(target_env = "musl")'.dependencies]
git2 = { version = "0.20", default-features = false, features = ["zlib-ng-compat"] }