generated from EmbarkStudios/opensource-template
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Cargo.toml
107 lines (94 loc) · 2.62 KB
/
Cargo.toml
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
104
105
106
107
[package]
name = "cargo-fetcher"
version = "0.14.6"
authors = [
"Embark <[email protected]>",
"Jake Shadle <[email protected]>",
]
edition = "2021"
description = "🎁 Alternative to cargo fetch"
license = "MIT OR Apache-2.0"
documentation = "https://docs.rs/cargo-fetcher"
homepage = "https://github.com/EmbarkStudios/cargo-fetcher"
repository = "https://github.com/EmbarkStudios/cargo-fetcher"
keywords = ["fetch", "gcs", "s3"]
categories = ["development-tools::cargo-plugins"]
readme = "README.md"
[[bin]]
name = "cargo-fetcher"
path = "src/cmds/main.rs"
[features]
default = []
gcs = ["tame-gcs", "tame-oauth"]
s3 = ["rusty-s3"]
blob = ["base64", "quick-xml"]
[profile.release]
strip = "debuginfo"
[dependencies]
# Ergonomic error handling
anyhow = "1.0"
async-scoped = { version = "0.7", features = ["use-tokio"] }
async-trait = "0.1"
base64 = { version = "0.21", optional = true }
bytes = "1.0"
camino = "1.1"
clap = { version = "4.0", features = ["derive", "env"] }
crossbeam-channel = "0.5"
flate2 = { version = "1.0", default-features = false, features = [
"rust_backend",
] }
home = "0.5"
http = "0.2"
rayon = "1.5"
remove_dir_all = "0.8"
reqwest = { version = "0.11", default-features = false, features = [
"rustls-tls",
# We could do this manually, but..meh
"gzip",
] }
ring = "0.17"
rusty-s3 = { version = "0.5", optional = true }
serde = { version = "1.0", features = ["derive", "rc"] }
quick-xml = { version = "0.30", features = ["serialize"], optional = true }
tame-gcs = { version = "0.12", optional = true }
tame-index = { version = "0.8", features = ["git", "sparse"] }
tame-oauth = { version = "0.9", features = ["gcp"], optional = true }
tar = "0.4"
tempfile = "3.1"
time = { version = "0.3", features = ["formatting", "macros"] }
toml = "0.8"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
url = { version = "2.2", features = ["serde"] }
walkdir = "2.3"
zstd = "0.13"
[dependencies.gix]
version = "0.55"
features = [
"max-performance-safe",
"blocking-network-client",
"blocking-http-transport-reqwest",
"reqwest-for-configuration-only",
]
[dependencies.tokio]
version = "1.4"
features = ["rt-multi-thread", "macros"]
[target.'cfg(unix)'.dependencies]
libc = "0.2"
[dev-dependencies]
similar-asserts = "1.2"
twox-hash = { version = "1.6", default-features = false }
walkdir = "2.3"
[[test]]
name = "sync_crates_io"
path = "tests/sync_crates_io.rs"
[[test]]
name = "sync_git"
path = "tests/sync_git.rs"
[[test]]
name = "diff_cargo"
path = "tests/diff_cargo.rs"
[profile.dev.build-override]
opt-level = 0
[profile.dev.package."*"]
opt-level = 3