forked from russellbanks/Komac
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
129 lines (118 loc) · 3.94 KB
/
Cargo.toml
File metadata and controls
129 lines (118 loc) · 3.94 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
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
[package]
name = "komac"
version = "2.16.0"
authors = ["Russell Banks"]
edition = "2024"
rust-version = "1.89"
description = "A manifest creator for winget-pkgs"
license = "GPL-3.0-or-later"
repository = "https://github.com/russellbanks/Komac"
readme = "README.md"
documentation = "https://github.com/russellbanks/Komac/blob/main/README.md"
categories = ["command-line-utilities", "development-tools"]
keywords = ["winget", "winget-pkgs", "winget-cli", "windows"]
build = "build.rs"
include = ["**/*.rs", "assets/github.graphql", "assets/branding/logo.ico"]
[[bin]]
name = "komac"
path = "src/main.rs"
# https://doc.rust-lang.org/stable/cargo/guide/build-performance.html#reduce-amount-of-generated-debug-information
[profile.dev]
debug = "line-tables-only"
[profile.dev.package."*"]
debug = false
[profile.debugging]
inherits = "dev"
debug = true
[profile.release]
codegen-units = 1
lto = true
strip = true
[dependencies]
anstream = "1.0.0"
base64ct = { version = "1.8.3", features = ["std"] }
bitflags = "2.11.1"
bon = "3.9.1"
bytes = "1.11.1"
bzip2 = "0.6.1"
cab = "0.6.0"
camino = { version = "1.2.2", features = ["serde1"] }
chrono = { version = "0.4.44", features = ["serde"] }
clap = { version = "4.6.0", features = ["derive", "cargo", "env"] }
clap_complete = "4.6.2"
codepage = "0.1.2"
color-eyre = { version = "0.6.5", default-features = false }
compact_str = "0.9.0"
const_format = { version = "0.2.35", features = ["derive"] }
crossbeam-channel = "0.5.15"
cynic = { version = "3.13.2", features = ["http-reqwest"] }
encoding_rs = "0.8.35"
flate2 = "1.1.9"
futures-util = "0.3.32"
html-escape = "0.2.13"
html2text = "0.16.7"
indexmap = "2.14.0"
indextree = "4.8.1"
indicatif = "0.18.4"
inno = { version = "0.4.2", features = ["lzma-static"] }
inquire = "0.9.4"
itertools = "0.14.0"
itoa = "1.0.18"
keyring = { version = "3.6.3", features = ["apple-native", "sync-secret-service", "vendored", "windows-native"] }
liblzma = { version = "0.4.6", features = ["static"] }
memchr = "2.8.0"
msi = "0.10.0"
nt-time = { version = "0.13.1", features = ["chrono"] }
num_cpus = "1.17.0"
open = "5.3.3"
ordinal = "0.4.0"
owo-colors = "4.3.0"
quick-xml = { version = "0.39.2", features = ["serialize"] }
rand = "0.10.1"
ratatui = "0.30.0"
ratatui-textarea = { version = "0.9.0", features = ["search"] }
regex = "1.12.3"
reqwest = { version = "0.13.2", default-features = false, features = ["charset", "http2", "stream", "system-proxy"] }
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
serde_with = "3.18.0"
serde_yaml = { package = "yaml_serde", version = "0.10.4" }
serini = "0.2.2"
sevenz-rust2 = "0.20.2"
sha2 = "0.11.0"
similar = "2.7.0"
strsim = "0.11.1"
strum = { version = "0.28.0", features = ["derive"] }
supports-hyperlinks = "3.2.0"
tempfile = "3.27.0"
thiserror = "2.0.18"
tokio = { version = "1.52.0", features = ["rt-multi-thread", "macros", "fs", "parking_lot"] }
tracing = "0.1.44"
tracing-indicatif = "0.3.14"
tracing-subscriber = { version = "0.3.23", features = ["env-filter"] }
tree-sitter-highlight = "0.26.8"
tree-sitter-yaml = "0.7.2"
typed-path = "0.12.3"
url = { version = "2.5.8", features = ["serde"] }
uuid = { version = "1.23.0", features = ["v4"] }
walkdir = "2.5.0"
winget-types = { version = "0.4.3", features = ["serde", "std", "chrono"] }
zerocopy = { version = "0.8.48", features = ["derive", "std"] }
zip = { version = "8.5.1", default-features = false, features = ["deflate"] }
[features]
default = ["openssl"]
openssl = ["keyring/crypto-openssl", "reqwest/native-tls-vendored"]
rustls = ["keyring/crypto-rust", "reqwest/rustls"]
[build-dependencies]
cynic-codegen = { version = "3.13.2", features = ["rkyv"] }
windows_exe_info = { version = "0.5.2", features = ["manifest"] }
[dev-dependencies]
indoc = "2.0.7"
rstest = "0.26.1"
[package.metadata.generate-rpm]
assets = [
{ source = "target/release/komac", dest = "/usr/bin/komac", mode = "755" },
]
[patch.crates-io]
# inno = { path = "vendor/inno/core" }
winget-types = { path = "vendor/winget-types" }