-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
43 lines (37 loc) · 1.05 KB
/
Cargo.toml
File metadata and controls
43 lines (37 loc) · 1.05 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
[package]
name = "cargox-cli"
version = "0.1.0"
edition = "2024"
repository = "https://github.com/pkgxdev/cargox"
description = "`npx` for the cargo ecosystem."
license = "Apache-2.0"
[[bin]]
name = "cargox"
path = "src/main.rs"
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/cargox-{ version }-{ target }.tar.gz"
pkg-fmt = "tgz"
bin-dir = "{ bin }{ binary-ext }"
[package.metadata.dist]
release_name = "cargox"
[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-url = "{ repo }/releases/download/v{ version }/cargox-{ version }-{ target }.zip"
pkg-fmt = "zip"
[dependencies]
anyhow = "1.0"
clap = { version = "4.5", features = ["derive"] }
which = "6.0"
directories = "5.0"
tempfile = "3.14"
semver = "1.0"
serde = { version = "1.0", features = ["derive"] }
reqwest = { version = "0.12", features = ["blocking", "json"] }
[workspace.metadata.dist]
cargo-dist-version = "0.24.1"
ci = "github"
targets = [
"x86_64-unknown-linux-gnu",
"x86_64-pc-windows-msvc",
"aarch64-apple-darwin",
"x86_64-apple-darwin",
]