pare-cli 0.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,484 @@
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 4
4
+
5
+ [[package]]
6
+ name = "aho-corasick"
7
+ version = "1.1.5"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba"
10
+ dependencies = [
11
+ "memchr",
12
+ ]
13
+
14
+ [[package]]
15
+ name = "anstream"
16
+ version = "1.0.0"
17
+ source = "registry+https://github.com/rust-lang/crates.io-index"
18
+ checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d"
19
+ dependencies = [
20
+ "anstyle",
21
+ "anstyle-parse",
22
+ "anstyle-query",
23
+ "anstyle-wincon",
24
+ "colorchoice",
25
+ "is_terminal_polyfill",
26
+ "utf8parse",
27
+ ]
28
+
29
+ [[package]]
30
+ name = "anstyle"
31
+ version = "1.0.14"
32
+ source = "registry+https://github.com/rust-lang/crates.io-index"
33
+ checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000"
34
+
35
+ [[package]]
36
+ name = "anstyle-parse"
37
+ version = "1.0.0"
38
+ source = "registry+https://github.com/rust-lang/crates.io-index"
39
+ checksum = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e"
40
+ dependencies = [
41
+ "utf8parse",
42
+ ]
43
+
44
+ [[package]]
45
+ name = "anstyle-query"
46
+ version = "1.1.5"
47
+ source = "registry+https://github.com/rust-lang/crates.io-index"
48
+ checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
49
+ dependencies = [
50
+ "windows-sys",
51
+ ]
52
+
53
+ [[package]]
54
+ name = "anstyle-wincon"
55
+ version = "3.0.11"
56
+ source = "registry+https://github.com/rust-lang/crates.io-index"
57
+ checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
58
+ dependencies = [
59
+ "anstyle",
60
+ "once_cell_polyfill",
61
+ "windows-sys",
62
+ ]
63
+
64
+ [[package]]
65
+ name = "bit-set"
66
+ version = "0.8.0"
67
+ source = "registry+https://github.com/rust-lang/crates.io-index"
68
+ checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3"
69
+ dependencies = [
70
+ "bit-vec",
71
+ ]
72
+
73
+ [[package]]
74
+ name = "bit-vec"
75
+ version = "0.8.0"
76
+ source = "registry+https://github.com/rust-lang/crates.io-index"
77
+ checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7"
78
+
79
+ [[package]]
80
+ name = "bitflags"
81
+ version = "2.13.2"
82
+ source = "registry+https://github.com/rust-lang/crates.io-index"
83
+ checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
84
+
85
+ [[package]]
86
+ name = "block-buffer"
87
+ version = "0.10.4"
88
+ source = "registry+https://github.com/rust-lang/crates.io-index"
89
+ checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
90
+ dependencies = [
91
+ "generic-array",
92
+ ]
93
+
94
+ [[package]]
95
+ name = "cfg-if"
96
+ version = "1.0.5"
97
+ source = "registry+https://github.com/rust-lang/crates.io-index"
98
+ checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
99
+
100
+ [[package]]
101
+ name = "cfg_aliases"
102
+ version = "0.2.2"
103
+ source = "registry+https://github.com/rust-lang/crates.io-index"
104
+ checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527"
105
+
106
+ [[package]]
107
+ name = "clap"
108
+ version = "4.6.7"
109
+ source = "registry+https://github.com/rust-lang/crates.io-index"
110
+ checksum = "aa8876b300ab35ba921adea3dfd70157a46249b33f95c9084ae5709785478946"
111
+ dependencies = [
112
+ "clap_builder",
113
+ "clap_derive",
114
+ ]
115
+
116
+ [[package]]
117
+ name = "clap_builder"
118
+ version = "4.6.7"
119
+ source = "registry+https://github.com/rust-lang/crates.io-index"
120
+ checksum = "ec0797fb7aeb1406c84efac526901f7ec3ead2124f946b494e72879d4b54704d"
121
+ dependencies = [
122
+ "anstream",
123
+ "anstyle",
124
+ "clap_lex",
125
+ "strsim",
126
+ ]
127
+
128
+ [[package]]
129
+ name = "clap_derive"
130
+ version = "4.6.7"
131
+ source = "registry+https://github.com/rust-lang/crates.io-index"
132
+ checksum = "f9c751b79415d4e559e3d1fcf128e09e720eb673a06d26cf6f392d37d75b66e0"
133
+ dependencies = [
134
+ "heck",
135
+ "proc-macro2",
136
+ "quote",
137
+ "syn",
138
+ ]
139
+
140
+ [[package]]
141
+ name = "clap_lex"
142
+ version = "1.1.1"
143
+ source = "registry+https://github.com/rust-lang/crates.io-index"
144
+ checksum = "1c133bc6a41be0d194c306b5506d15e6feeea7b1d6604bd3f8310dfb2ca96486"
145
+
146
+ [[package]]
147
+ name = "colorchoice"
148
+ version = "1.0.5"
149
+ source = "registry+https://github.com/rust-lang/crates.io-index"
150
+ checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570"
151
+
152
+ [[package]]
153
+ name = "cpufeatures"
154
+ version = "0.2.17"
155
+ source = "registry+https://github.com/rust-lang/crates.io-index"
156
+ checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
157
+ dependencies = [
158
+ "libc",
159
+ ]
160
+
161
+ [[package]]
162
+ name = "crypto-common"
163
+ version = "0.1.7"
164
+ source = "registry+https://github.com/rust-lang/crates.io-index"
165
+ checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
166
+ dependencies = [
167
+ "generic-array",
168
+ "typenum",
169
+ ]
170
+
171
+ [[package]]
172
+ name = "digest"
173
+ version = "0.10.7"
174
+ source = "registry+https://github.com/rust-lang/crates.io-index"
175
+ checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
176
+ dependencies = [
177
+ "block-buffer",
178
+ "crypto-common",
179
+ ]
180
+
181
+ [[package]]
182
+ name = "equivalent"
183
+ version = "1.0.3"
184
+ source = "registry+https://github.com/rust-lang/crates.io-index"
185
+ checksum = "00d174d5400e5e8fd687ad1049e2f578285fa914201b1af7e8b112a4546bd826"
186
+
187
+ [[package]]
188
+ name = "errno"
189
+ version = "0.3.14"
190
+ source = "registry+https://github.com/rust-lang/crates.io-index"
191
+ checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
192
+ dependencies = [
193
+ "libc",
194
+ "windows-sys",
195
+ ]
196
+
197
+ [[package]]
198
+ name = "fancy-regex"
199
+ version = "0.19.2"
200
+ source = "registry+https://github.com/rust-lang/crates.io-index"
201
+ checksum = "d301f5bf187b3c295fce6468d3875037a0bccc5f6b151c63cac2f85babf21912"
202
+ dependencies = [
203
+ "bit-set",
204
+ "regex-automata",
205
+ "regex-syntax",
206
+ ]
207
+
208
+ [[package]]
209
+ name = "foldhash"
210
+ version = "0.2.0"
211
+ source = "registry+https://github.com/rust-lang/crates.io-index"
212
+ checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb"
213
+
214
+ [[package]]
215
+ name = "generic-array"
216
+ version = "0.14.7"
217
+ source = "registry+https://github.com/rust-lang/crates.io-index"
218
+ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
219
+ dependencies = [
220
+ "typenum",
221
+ "version_check",
222
+ ]
223
+
224
+ [[package]]
225
+ name = "hashbrown"
226
+ version = "0.17.1"
227
+ source = "registry+https://github.com/rust-lang/crates.io-index"
228
+ checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
229
+
230
+ [[package]]
231
+ name = "heck"
232
+ version = "0.5.0"
233
+ source = "registry+https://github.com/rust-lang/crates.io-index"
234
+ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
235
+
236
+ [[package]]
237
+ name = "indexmap"
238
+ version = "2.14.2"
239
+ source = "registry+https://github.com/rust-lang/crates.io-index"
240
+ checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855"
241
+ dependencies = [
242
+ "equivalent",
243
+ "hashbrown",
244
+ ]
245
+
246
+ [[package]]
247
+ name = "is_terminal_polyfill"
248
+ version = "1.70.2"
249
+ source = "registry+https://github.com/rust-lang/crates.io-index"
250
+ checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
251
+
252
+ [[package]]
253
+ name = "itoa"
254
+ version = "1.0.18"
255
+ source = "registry+https://github.com/rust-lang/crates.io-index"
256
+ checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
257
+
258
+ [[package]]
259
+ name = "libc"
260
+ version = "0.2.191"
261
+ source = "registry+https://github.com/rust-lang/crates.io-index"
262
+ checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
263
+
264
+ [[package]]
265
+ name = "memchr"
266
+ version = "2.8.3"
267
+ source = "registry+https://github.com/rust-lang/crates.io-index"
268
+ checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
269
+
270
+ [[package]]
271
+ name = "nix"
272
+ version = "0.30.1"
273
+ source = "registry+https://github.com/rust-lang/crates.io-index"
274
+ checksum = "74523f3a35e05aba87a1d978330aef40f67b0304ac79c1c00b294c9830543db6"
275
+ dependencies = [
276
+ "bitflags",
277
+ "cfg-if",
278
+ "cfg_aliases",
279
+ "libc",
280
+ ]
281
+
282
+ [[package]]
283
+ name = "once_cell_polyfill"
284
+ version = "1.70.2"
285
+ source = "registry+https://github.com/rust-lang/crates.io-index"
286
+ checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
287
+
288
+ [[package]]
289
+ name = "pare-cli"
290
+ version = "0.2.0"
291
+ dependencies = [
292
+ "clap",
293
+ "fancy-regex",
294
+ "memchr",
295
+ "nix",
296
+ "regex",
297
+ "serde_json",
298
+ "sha2",
299
+ "signal-hook",
300
+ ]
301
+
302
+ [[package]]
303
+ name = "proc-macro2"
304
+ version = "1.0.107"
305
+ source = "registry+https://github.com/rust-lang/crates.io-index"
306
+ checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
307
+ dependencies = [
308
+ "unicode-ident",
309
+ ]
310
+
311
+ [[package]]
312
+ name = "quote"
313
+ version = "1.0.47"
314
+ source = "registry+https://github.com/rust-lang/crates.io-index"
315
+ checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
316
+ dependencies = [
317
+ "proc-macro2",
318
+ ]
319
+
320
+ [[package]]
321
+ name = "regex"
322
+ version = "1.13.1"
323
+ source = "registry+https://github.com/rust-lang/crates.io-index"
324
+ checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d"
325
+ dependencies = [
326
+ "aho-corasick",
327
+ "memchr",
328
+ "regex-automata",
329
+ "regex-syntax",
330
+ ]
331
+
332
+ [[package]]
333
+ name = "regex-automata"
334
+ version = "0.4.18"
335
+ source = "registry+https://github.com/rust-lang/crates.io-index"
336
+ checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2"
337
+ dependencies = [
338
+ "aho-corasick",
339
+ "memchr",
340
+ "regex-syntax",
341
+ ]
342
+
343
+ [[package]]
344
+ name = "regex-syntax"
345
+ version = "0.8.11"
346
+ source = "registry+https://github.com/rust-lang/crates.io-index"
347
+ checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
348
+
349
+ [[package]]
350
+ name = "serde"
351
+ version = "1.0.229"
352
+ source = "registry+https://github.com/rust-lang/crates.io-index"
353
+ checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
354
+ dependencies = [
355
+ "serde_core",
356
+ ]
357
+
358
+ [[package]]
359
+ name = "serde_core"
360
+ version = "1.0.229"
361
+ source = "registry+https://github.com/rust-lang/crates.io-index"
362
+ checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
363
+ dependencies = [
364
+ "serde_derive",
365
+ ]
366
+
367
+ [[package]]
368
+ name = "serde_derive"
369
+ version = "1.0.229"
370
+ source = "registry+https://github.com/rust-lang/crates.io-index"
371
+ checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
372
+ dependencies = [
373
+ "proc-macro2",
374
+ "quote",
375
+ "syn",
376
+ ]
377
+
378
+ [[package]]
379
+ name = "serde_json"
380
+ version = "1.0.154"
381
+ source = "registry+https://github.com/rust-lang/crates.io-index"
382
+ checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6"
383
+ dependencies = [
384
+ "foldhash",
385
+ "indexmap",
386
+ "itoa",
387
+ "memchr",
388
+ "serde",
389
+ "serde_core",
390
+ "zmij",
391
+ ]
392
+
393
+ [[package]]
394
+ name = "sha2"
395
+ version = "0.10.9"
396
+ source = "registry+https://github.com/rust-lang/crates.io-index"
397
+ checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
398
+ dependencies = [
399
+ "cfg-if",
400
+ "cpufeatures",
401
+ "digest",
402
+ ]
403
+
404
+ [[package]]
405
+ name = "signal-hook"
406
+ version = "0.3.18"
407
+ source = "registry+https://github.com/rust-lang/crates.io-index"
408
+ checksum = "d881a16cf4426aa584979d30bd82cb33429027e42122b169753d6ef1085ed6e2"
409
+ dependencies = [
410
+ "libc",
411
+ "signal-hook-registry",
412
+ ]
413
+
414
+ [[package]]
415
+ name = "signal-hook-registry"
416
+ version = "1.4.8"
417
+ source = "registry+https://github.com/rust-lang/crates.io-index"
418
+ checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b"
419
+ dependencies = [
420
+ "errno",
421
+ "libc",
422
+ ]
423
+
424
+ [[package]]
425
+ name = "strsim"
426
+ version = "0.11.1"
427
+ source = "registry+https://github.com/rust-lang/crates.io-index"
428
+ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
429
+
430
+ [[package]]
431
+ name = "syn"
432
+ version = "3.0.9"
433
+ source = "registry+https://github.com/rust-lang/crates.io-index"
434
+ checksum = "d78c8dee4c7bf0e14673097256fed6142ce9d3b85a408189d07482442145823b"
435
+ dependencies = [
436
+ "proc-macro2",
437
+ "quote",
438
+ "unicode-ident",
439
+ ]
440
+
441
+ [[package]]
442
+ name = "typenum"
443
+ version = "1.20.1"
444
+ source = "registry+https://github.com/rust-lang/crates.io-index"
445
+ checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20"
446
+
447
+ [[package]]
448
+ name = "unicode-ident"
449
+ version = "1.0.27"
450
+ source = "registry+https://github.com/rust-lang/crates.io-index"
451
+ checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
452
+
453
+ [[package]]
454
+ name = "utf8parse"
455
+ version = "0.2.2"
456
+ source = "registry+https://github.com/rust-lang/crates.io-index"
457
+ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
458
+
459
+ [[package]]
460
+ name = "version_check"
461
+ version = "0.9.5"
462
+ source = "registry+https://github.com/rust-lang/crates.io-index"
463
+ checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
464
+
465
+ [[package]]
466
+ name = "windows-link"
467
+ version = "0.2.1"
468
+ source = "registry+https://github.com/rust-lang/crates.io-index"
469
+ checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
470
+
471
+ [[package]]
472
+ name = "windows-sys"
473
+ version = "0.61.2"
474
+ source = "registry+https://github.com/rust-lang/crates.io-index"
475
+ checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
476
+ dependencies = [
477
+ "windows-link",
478
+ ]
479
+
480
+ [[package]]
481
+ name = "zmij"
482
+ version = "1.0.23"
483
+ source = "registry+https://github.com/rust-lang/crates.io-index"
484
+ checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
@@ -0,0 +1,69 @@
1
+ [package]
2
+ # "pare" is taken on crates.io (and PyPI); the package is pare-cli, and
3
+ # the library and the command it installs are still called pare.
4
+ name = "pare-cli"
5
+ version = "0.2.0"
6
+ edition = "2024"
7
+ rust-version = "1.87"
8
+ description = "Summarize noisy command output (test runs, builds, logs) to a token budget, for AI agents and humans"
9
+ repository = "https://github.com/wspires/pare"
10
+ homepage = "https://github.com/wspires/pare"
11
+ readme = "README.md"
12
+ license = "MIT OR Apache-2.0"
13
+ keywords = ["logs", "summarization", "token-budget", "cli", "ai-agents"]
14
+ categories = ["command-line-utilities", "development-tools"]
15
+ # What goes into the crate on crates.io: the code and what it needs to
16
+ # build. The corpora, the Python reference and the test data stay in the
17
+ # repository.
18
+ include = ["/src", "/Cargo.toml", "/Cargo.lock", "/README.md", "/LICENSE-MIT", "/LICENSE-APACHE", "/THIRD-PARTY-NOTICES"]
19
+
20
+ [lib]
21
+ name = "pare"
22
+ path = "src/lib.rs"
23
+
24
+ [[bin]]
25
+ name = "pare"
26
+ path = "src/main.rs"
27
+
28
+ # `cargo binstall pare-cli` downloads the release archive for the platform
29
+ # instead of compiling (https://github.com/cargo-bins/cargo-binstall).
30
+ [package.metadata.binstall]
31
+ pkg-url = "{ repo }/releases/download/v{ version }/pare-v{ version }-{ target }{ archive-suffix }"
32
+ bin-dir = "pare-v{ version }-{ target }/{ bin }{ binary-ext }"
33
+ pkg-fmt = "tgz"
34
+
35
+ [package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
36
+ pkg-fmt = "zip"
37
+
38
+ # Each dependency is justified in docs/ARCHITECTURE.md ("Dependencies").
39
+ [dependencies]
40
+ clap = { version = "4.5", features = ["derive", "env"] }
41
+ fancy-regex = "0.19"
42
+ memchr = "2"
43
+ regex = "1.11"
44
+ serde_json = { version = "1", features = ["preserve_order"] }
45
+ sha2 = "0.10"
46
+
47
+ [target.'cfg(unix)'.dependencies]
48
+ nix = { version = "0.30", default-features = false, features = ["signal", "fs"] }
49
+ signal-hook = "0.3"
50
+
51
+ [lints.rust]
52
+ unsafe_code = "forbid"
53
+ missing_docs = "warn"
54
+
55
+ [lints.clippy]
56
+ all = { level = "warn", priority = -1 }
57
+ # A few pedantic lints that catch real mistakes in this kind of code.
58
+ cast_lossless = "warn"
59
+ cast_possible_truncation = "warn"
60
+ cast_sign_loss = "warn"
61
+ needless_pass_by_value = "warn"
62
+ redundant_closure_for_method_calls = "warn"
63
+
64
+ [profile.release]
65
+ # One codegen unit and link-time optimisation: a smaller, faster binary for
66
+ # a slower build, which only release builds pay.
67
+ lto = true
68
+ codegen-units = 1
69
+ strip = true