-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
121 lines (102 loc) · 3.64 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
[package]
name = "channelz"
version = "0.10.0"
license = "WTFPL"
authors = ["Josh Stoik <[email protected]>"]
edition = "2021"
description = "Fast, multi-threaded static Gzip/Brotli encoding tool for the CLI."
repository = "https://github.com/Blobfolio/channelz"
readme = "./README.md"
publish = false
[package.metadata.deb]
maintainer = "Josh Stoik <[email protected]>"
copyright = "2025, Blobfolio, LLC <[email protected]>"
license-file = ["./LICENSE", "0"]
revision = "1"
depends = "$auto"
section = "utils"
extended-description = """\
.\n\
Point ChannelZ toward a single file to generate maximally-compressed Brotli- and Gzip-encoded copies, or point it toward a directory to recursively handle many files en masse.\n\
.\n\
Only files with the following extensions will be looked at:\n\
appcache; atom; bmp; css; csv; doc(x); eot; geojson; htc; htm(l); ico; ics; js;\n\
json; jsonld; manifest; md; mjs; otf; pdf; rdf; rss; svg; ttf; txt; vcard; vcs;\n\
vtt; wasm; webmanifest; xhtm(l); xls(x); xml; xsl; y(a)ml"""
assets = [
["./target/release/channelz", "usr/bin/", "755"],
["./release/completions/channelz.bash", "etc/bash_completion.d/", "644"],
["./release/man/channelz.1.gz", "usr/share/man/man1/", "644"],
]
[package.metadata.bashman]
name = "ChannelZ"
bash-dir = "./release/completions"
man-dir = "./release/man"
[[package.metadata.bashman.switches]]
long = "--clean"
description = "Remove all existing *.gz *.br files (of types ChannelZ would encode) before starting."
[[package.metadata.bashman.switches]]
long = "--clean-only"
description = "Same as --clean, but exit immediately afterward."
[[package.metadata.bashman.switches]]
long = "--force"
description = "Try to encode ALL files passed to ChannelZ, regardless of file extension (except those already ending in .br/.gz). Be careful with this!"
[[package.metadata.bashman.switches]]
short = "-h"
long = "--help"
description = "Print help information and exit."
[[package.metadata.bashman.switches]]
long = "--no-br"
description = "Skip Brotli encoding."
[[package.metadata.bashman.switches]]
long = "--no-gz"
description = "Skip Gzip encoding."
[[package.metadata.bashman.switches]]
short = "-p"
long = "--progress"
description = "Show progress bar while minifying."
[[package.metadata.bashman.switches]]
short = "-V"
long = "--version"
description = "Print version information and exit."
[[package.metadata.bashman.options]]
short = "-l"
long = "--list"
label = "<FILE>"
description = "Read (absolute) file and/or directory paths to compress from this text file — or STDIN if '-' — one entry per line, instead of or in addition to specifying <PATH(S)> directly at the end of the command."
path = true
[[package.metadata.bashman.arguments]]
label = "<PATH(s)…>"
description = "One or more file and/or directory paths to compress and/or (recursively) crawl."
[[package.metadata.bashman.sections]]
name = "FILE TYPES"
inside = false
lines = [
"Static copies will only be generated for files with these extensions:",
"appcache; atom; bmp; css; csv; doc(x); eot; geojson; htc; htm(l); ico; ics; js;",
"json; jsonld; manifest; md; mjs; otf; pdf; rdf; rss; svg; ttf; txt; vcard; vcs;",
"vtt; wasm; webmanifest; xhtm(l); xls(x); xml; xsl; y(a)ml",
]
[build-dependencies]
argyle = "0.10.*"
dactyl = "0.9.*"
[dependencies]
argyle = "0.10.*"
crossbeam-channel = "=0.5.*"
dactyl = "0.9.*"
dowser = "0.11.*"
write_atomic = "0.5.*"
[dependencies.brotli]
version = "=7.0.0"
default-features = false
features = [ "std" ]
[dependencies.fyi_msg]
version = "1.6.*"
features = [ "signals" ]
[dependencies.libdeflater]
version = "=1.23.0"
features = [ "freestanding" ]
[profile.release]
lto = true
codegen-units = 1
strip = true