-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
79 lines (61 loc) · 1.67 KB
/
Cargo.toml
File metadata and controls
79 lines (61 loc) · 1.67 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
[package]
name = "git-same"
version = "2.1.0"
edition = "2021"
authors = ["Git-Same Contributors"]
description = "Mirror GitHub structure /orgs/repos/ to local file system."
license = "MIT"
repository = "https://github.com/zaai-com/git-same"
keywords = ["git", "github", "cli", "clone", "sync"]
categories = ["command-line-utilities", "development-tools"]
# Aliases (gitsame, gitsa, gisa) are created as symlinks by installers.
# See toolkit/packaging/binary-aliases.txt for the full list.
[[bin]]
name = "git-same"
path = "src/main.rs"
[features]
default = ["tui"]
tui = ["dep:ratatui", "dep:crossterm"]
[dependencies]
# CLI parsing
clap = { version = "4", features = ["derive"] }
# Async runtime
tokio = { version = "1", features = ["full"] }
# HTTP client for GitHub API
reqwest = { version = "0.13", features = ["json"] }
# JSON/TOML serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "1"
# Progress bars and terminal output
indicatif = "0.18"
console = "0.16"
# XDG directories (~/.config/git-same)
directories = "6"
# Error handling
thiserror = "2"
anyhow = "1"
# Shell expansion (~/ paths)
shellexpand = "3"
# Async trait support
async-trait = "0.1"
# Date/time handling
chrono = { version = "0.4", features = ["serde"] }
# Futures utilities
futures = "0.3"
# Structured logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# TUI (optional, behind "tui" feature)
ratatui = { version = "0.30", optional = true }
crossterm = { version = "0.29", optional = true }
[dev-dependencies]
# Testing
tokio-test = "0.4"
mockito = "1"
tempfile = "3"
[profile.release]
strip = true
lto = true
codegen-units = 1
panic = "abort"