aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: f366fe967521821a07679feb07d04eb0297e1075 (plain)
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
[package]
name = "gtree"
description = "A tool to clone and pull whole group trees from a git forge, properly organized on disk."
version = "1.1.0"
edition = "2021"
authors = ["Max Audron <audron@cocaine.farm>"]
license = "ISC"
homepage = "https://gitlab.com/cocainefarm/gtree"
repository = "https://gitlab.com/cocainefarm/gtree"

[dependencies]
tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros"] }
futures = "0.3"

itertools = "0.14"
num_cpus = "1"
once_cell = "1"

gitlab = "0.1710"
graphql_client = "0.14"

gix = { version = "0.71", default-features = false, features = [
    "status",
    "index",
    "credentials",
    "blocking-http-transport-reqwest-rust-tls",
    "worktree-mutation",
    "max-performance-safe",
    "parallel",
] }
gix-worktree-state = "*"
gix-index = "*"
gix-validate = "*"

walkdir = "2"

async-trait = "0.1"

# Arg parsing and config
clap = { version = "3", features = ["derive"] }
figment = { version = "0.10", features = ["toml", "env"] }
serde = "1"

# logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tracing-flame = "0.2"

# error handling
anyhow = "1"
thiserror = "1"

derivative = "2"

url = { version = "2", features = ["serde"] }
xdg = "2"

# terminal coloring
ansi_term = "0.12"

[dev-dependencies]
tempfile = "3"

[features]
default = []