-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
56 lines (45 loc) · 1.78 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
[package]
name = "gitcurl"
version = "0.2.1"
edition = "2021"
authors = ["shadawck <[email protected]>"]
description = "Clone a directory without using Git but using Curl"
readme = "./README.md"
repository = "https://github.com/shadawck/gitcurl"
homepage = "https://github.com/shadawck/gitcurl"
license = "MIT OR Apache-2.0"
keywords = ["cli", "git", "curl", "pentest", "utility"]
categories = ["command-line-utilities"]
exclude = [
".github/",
".gitignore",
".pre-commit-config.yaml",
"commitlint.config.cjs",
"CHANGELOG.md",
]
[dependencies]
clap = { version = "3.2.22", features = ["cargo"] }
fs_extra = "1.2.0"
ureq = { version = "2.5.0", default-features = false, features = ["tls"] }
zip = "0.6.2"
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }-v{ version }.{ archive-format }"
bin-dir = "{ name }-{ target }-v{ version }/{ bin }{ binary-ext }"
pkg-fmt = "tgz"
### LINUX
#[target.x86_64-unknown-linux-gnu.dependencies]
#curl = "0.4.44"
[target.aarch64-unknown-linux-gnu.dependencies]
curl = { version = "0.4.44", default-features = false, features = ["rustls"] }
[target.x86_64-unknown-linux-musl.dependencies]
curl = { version = "0.4.44", default-features = false, features = ["rustls"] }
[target.aarch64-unknown-linux-musl.dependencies]
curl = { version = "0.4.44", default-features = false, features = ["rustls"] }
[target.armv7-unknown-linux-gnueabihf.dependencies]
curl = { version = "0.4.44", default-features = false, features = ["rustls"] }
### MACOS
[target.'cfg(target_os = "macos")'.dependencies]
curl = { version = "0.4.44", default-features = false, features = ["rustls"] }
### WINDOWS
[target.'cfg(target_os = "windows")'.dependencies]
curl = { version = "0.4.44", default-features = false, features = ["rustls"] }