-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
55 lines (47 loc) · 1.37 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
[package]
edition = "2021"
name = "ahqstore_cli_rs"
version = "0.7.0"
description = "AHQ Store CLI"
repository = "https://github.com/ahqstore/cli"
homepage = "https://github.com/ahqstore/cli"
license = "MIT"
readme = "README.md"
[lib]
name = "ahqstore_cli_rs"
crate-type = ["cdylib"]
path = "src/lib.rs"
[[bin]]
name = "ahqstore"
path = "src/main.rs"
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/{ version }/{ name }-{ target }.zip"
pkg-fmt = "zip"
[dependencies]
# Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
napi = { version = "2", default-features = false, features = [
"napi4",
], optional = true }
napi-derive = { version = "2", optional = true }
inquire = { version = "0", features = ["editor"] }
chalk_rs = "1"
lazy_static = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
ahqstore-types = { version = "3", features = ["apps_repo"] }
reqwest = { version = "0.12", features = ["json", "blocking"] }
sha2 = "0.10"
image = { version = "0.25", default-features = false, features = [
"rayon",
"png",
] }
rand = "0.8"
[target.'cfg(unix)'.dependencies]
openssl-sys = { version = "0.9", features = ["vendored"] }
[build-dependencies]
napi-build = { version = "2", optional = true }
[profile.release]
lto = true
strip = "symbols"
[features]
node = ["dep:napi", "dep:napi-build", "dep:napi-derive"]