aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 9f8da951ca6ca0e0173c549f83f60584d00d5f4f (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
[package]
name = "gtree"
description = "A tool to clone and pull whole group trees from a git forge, properly organized on disk."
version = "1.0.4"
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.10"
num_cpus = "1"
once_cell = "1"

gitlab = "0.1600"
graphql_client = "0.11"

git2 = { version = "0.17" }

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"

[features]
default = []

vendored-openssl = [ "git2/vendored-openssl" ]
vendored-libgit2 = [ "git2/vendored-libgit2" ]