@@ -33,68 +33,30 @@ default = ["max"]
33
33
# # Everything, all at once.
34
34
# #
35
35
# # As fast as possible, tracing, with TUI progress, progress line rendering with auto-configuration, all transports based on their most mature implementation (HTTP), all `ein` tools, CLI colors and local-time support, JSON output, regex support for rev-specs.
36
- max = [
37
- " max-control" ,
38
- " fast" ,
39
- " gitoxide-core-blocking-client" ,
40
- " http-client-curl" ,
41
- ]
36
+ max = [" max-control" , " fast" , " gitoxide-core-blocking-client" , " http-client-curl" ]
42
37
43
38
# # Like `max`, but only Rust is allowed.
44
39
# #
45
40
# # This is the most compatible build as it won't need a C compiler or C toolchains to build. It's also not the fastest as or the most feature-rich in terms of available
46
41
# # transports as it uses Rust's HTTP implementation.
47
42
# #
48
43
# # As fast as possible, with TUI progress, progress line rendering with auto-configuration, all transports available but less mature pure Rust HTTP implementation, all `ein` tools, CLI colors and local-time support, JSON output, regex support for rev-specs.
49
- max-pure = [
50
- " max-control" ,
51
- " gix-features/rustsha1" ,
52
- " gix-features/zlib-rust-backend" ,
53
- " http-client-reqwest" ,
54
- " gitoxide-core-blocking-client" ,
55
- ]
44
+ max-pure = [" max-control" , " gix-features/rustsha1" , " gix-features/zlib-rust-backend" , " http-client-reqwest" , " gitoxide-core-blocking-client" ]
56
45
57
46
# # Like `max`, but with more control for configuration. See the *Package Maintainers* headline for more information.
58
- max-control = [
59
- " tracing" ,
60
- " fast-safe" ,
61
- " pretty-cli" ,
62
- " gitoxide-core-tools-query" ,
63
- " gitoxide-core-tools-corpus" ,
64
- " gitoxide-core-tools" ,
65
- " prodash-render-line" ,
66
- " prodash-render-tui" ,
67
- " prodash/render-line-autoconfigure" ,
68
- " gix/revparse-regex" ,
69
- ]
47
+ max-control = [" tracing" , " fast-safe" , " pretty-cli" , " gitoxide-core-tools-query" , " gitoxide-core-tools-corpus" , " gitoxide-core-tools" , " prodash-render-line" , " prodash-render-tui" , " prodash/render-line-autoconfigure" , " gix/revparse-regex" ]
70
48
71
49
# # All of the good stuff, with less fanciness for smaller binaries.
72
50
# #
73
51
# # As fast as possible, progress line rendering, all transports based on their most mature implementation (HTTP), all `ein` tools, CLI colors and local-time support, JSON output.
74
- lean = [
75
- " fast" ,
76
- " tracing" ,
77
- " pretty-cli" ,
78
- " http-client-curl" ,
79
- " gitoxide-core-tools-query" ,
80
- " gitoxide-core-tools-corpus" ,
81
- " gitoxide-core-tools" ,
82
- " gitoxide-core-blocking-client" ,
83
- " prodash-render-line" ,
84
- ]
52
+ lean = [" fast" , " tracing" , " pretty-cli" , " http-client-curl" , " gitoxide-core-tools-query" , " gitoxide-core-tools-corpus" , " gitoxide-core-tools" , " gitoxide-core-blocking-client" , " prodash-render-line" ]
85
53
86
54
# # The smallest possible build, best suitable for small single-core machines.
87
55
# #
88
56
# # This build is essentially limited to local operations without any fanciness.
89
57
# #
90
58
# # Optimized for size, no parallelism thus much slower, progress line rendering.
91
- small = [
92
- " pretty-cli" ,
93
- " gix-features/rustsha1" ,
94
- " gix-features/zlib-rust-backend" ,
95
- " prodash-render-line" ,
96
- " is-terminal" ,
97
- ]
59
+ small = [" pretty-cli" , " gix-features/rustsha1" , " gix-features/zlib-rust-backend" , " prodash-render-line" , " is-terminal" ]
98
60
99
61
# # Like lean, but uses Rusts async implementations for networking.
100
62
# #
@@ -105,16 +67,7 @@ small = [
105
67
# #
106
68
# # Due to async client-networking not being implemented for most transports, this one supports only the 'git+tcp' and HTTP transport.
107
69
# # It uses, however, a fully asynchronous networking implementation which can serve a real-world example on how to implement custom async transports.
108
- lean-async = [
109
- " fast" ,
110
- " tracing" ,
111
- " pretty-cli" ,
112
- " gitoxide-core-tools" ,
113
- " gitoxide-core-tools-query" ,
114
- " gitoxide-core-tools-corpus" ,
115
- " gitoxide-core-async-client" ,
116
- " prodash-render-line" ,
117
- ]
70
+ lean-async = [" fast" , " tracing" , " pretty-cli" , " gitoxide-core-tools" , " gitoxide-core-tools-query" , " gitoxide-core-tools-corpus" , " gitoxide-core-async-client" , " prodash-render-line" ]
118
71
119
72
# ! ### Package Maintainers
120
73
# ! `*-control` features leave it to you to configure C libraries, involving choices for `zlib`, ! hashing and transport implementation.
@@ -153,62 +106,29 @@ fast = ["gix/max-performance", "gix/comfort"]
153
106
fast-safe = [" gix/max-performance-safe" , " gix/comfort" ]
154
107
155
108
# # Enable tracing in `gitoxide-core`.
156
- tracing = [
157
- " dep:tracing-forest" ,
158
- " dep:tracing-subscriber" ,
159
- " dep:tracing" ,
160
- " gix-features/tracing" ,
161
- " gix-features/tracing-detail" ,
162
- ]
109
+ tracing = [" dep:tracing-forest" , " dep:tracing-subscriber" , " dep:tracing" , " gix-features/tracing" , " gix-features/tracing-detail" ]
163
110
164
111
# # Use `clap` 3.0 to build the prettiest, best documented and most user-friendly CLI at the expense of binary size.
165
112
# # Provides a terminal user interface for detailed and exhaustive progress.
166
113
# # Provides a line renderer for leaner progress display, without the need for a full-blown TUI.
167
- pretty-cli = [
168
- " gitoxide-core/serde" ,
169
- " prodash/progress-tree" ,
170
- " prodash/progress-tree-log" ,
171
- " prodash/local-time" ,
172
- " env_logger/humantime" ,
173
- " env_logger/color" ,
174
- " env_logger/auto-color" ,
175
- ]
114
+ pretty-cli = [ " gitoxide-core/serde" , " prodash/progress-tree" , " prodash/progress-tree-log" , " prodash/local-time" , " env_logger/humantime" , " env_logger/color" , " env_logger/auto-color" ]
176
115
177
116
# # The `--verbose` flag will be powered by an interactive progress mechanism that doubles as log as well as interactive progress
178
117
# # that appears after a short duration.
179
- prodash-render-line-crossterm = [
180
- " prodash-render-line" ,
181
- " prodash/render-line-crossterm" ,
182
- " prodash/signal-hook" ,
183
- " is-terminal" ,
184
- " crosstermion" ,
185
- ]
118
+ prodash-render-line-crossterm = [" prodash-render-line" , " prodash/render-line-crossterm" , " prodash/signal-hook" , " is-terminal" , " crosstermion" ]
186
119
187
120
# # Progress reporting with a TUI, can then be enabled with the `--progress` flag.
188
- prodash-render-tui = [
189
- " prodash/render-tui" ,
190
- " prodash/render-tui-crossterm" ,
191
- " gix/progress-tree" ,
192
- " futures-lite" ,
193
- ]
121
+ prodash-render-tui = [" prodash/render-tui" , " prodash/render-tui-crossterm" , " gix/progress-tree" , " futures-lite" ]
194
122
195
123
# # Progress reporting by visually drawing lines into the terminal without switching to an alternate window.
196
- prodash-render-line = [
197
- " prodash/render-line" ,
198
- " prodash-render-line-crossterm" ,
199
- " gix/progress-tree" ,
200
- ]
124
+ prodash-render-line = [" prodash/render-line" , " prodash-render-line-crossterm" , " gix/progress-tree" ]
201
125
202
126
# # Prints statistical information to inform about cache efficiency when those are dropped.
203
127
# # Use this as a way to understand if bigger caches actually produce greater yiedls.
204
128
cache-efficiency-debug = [" gix-features/cache-efficiency-debug" ]
205
129
206
130
# # A way to enable most `gitoxide-core` tools found in `ein tools`, namely `organize` and `estimate hours`.
207
- gitoxide-core-tools = [
208
- " gitoxide-core/organize" ,
209
- " gitoxide-core/estimate-hours" ,
210
- " gitoxide-core-tools-archive" ,
211
- ]
131
+ gitoxide-core-tools = [" gitoxide-core/organize" , " gitoxide-core/estimate-hours" , " gitoxide-core-tools-archive" ]
212
132
213
133
# # A program to perform analytics on a `git` repository, using an auto-maintained sqlite database
214
134
gitoxide-core-tools-query = [" gitoxide-core/query" ]
@@ -253,9 +173,7 @@ prodash = { workspace = true, optional = true }
253
173
is-terminal = { version = " 0.4.0" , optional = true }
254
174
env_logger = { version = " 0.10.0" , default-features = false }
255
175
crosstermion = { version = " 0.11.0" , optional = true , default-features = false }
256
- futures-lite = { version = " 1.12.0" , optional = true , default-features = false , features = [
257
- " std" ,
258
- ] }
176
+ futures-lite = { version = " 1.12.0" , optional = true , default-features = false , features = [" std" ] }
259
177
260
178
# for 'tracing'
261
179
tracing-forest = { version = " 0.1.5" , features = [" serde" ], optional = true }
@@ -299,80 +217,80 @@ build-override = { opt-level = 0 }
299
217
300
218
[workspace ]
301
219
members = [
302
- " gix-actor" ,
303
- " gix-url" ,
304
- " gix-hash" ,
305
- " gix-validate" ,
306
- " gix-ref" ,
307
- " gix-command" ,
308
- " gix-config" ,
309
- " gix-config-value" ,
310
- " gix-discover" ,
311
- " gix-features" ,
312
- " gix-trace" ,
313
- " gix-commitgraph" ,
314
- " gix-chunk" ,
315
- " gix-quote" ,
316
- " gix-object" ,
317
- " gix-glob" ,
318
- " gix-diff" ,
319
- " gix-date" ,
320
- " gix-traverse" ,
321
- " gix-index" ,
322
- " gix-bitmap" ,
323
- " gix-worktree" ,
324
- " gix-worktree-state" ,
325
- " gix-status" ,
326
- " gix-revision" ,
327
- " gix-packetline" ,
328
- " gix-packetline-blocking" ,
329
- " gix-mailmap" ,
330
- " gix-macros" ,
331
- " gix-note" ,
332
- " gix-negotiate" ,
333
- " gix-fetchhead" ,
334
- " gix-prompt" ,
335
- " gix-filter" ,
336
- " gix-sec" ,
337
- " gix-lfs" ,
338
- " gix-rebase" ,
339
- " gix-sequencer" ,
340
- " gix-submodule" ,
341
- " gix-transport" ,
342
- " gix-credentials" ,
343
- " gix-protocol" ,
344
- " gix-pack" ,
345
- " gix-odb" ,
346
- " gix-tempfile" ,
347
- " gix-lock" ,
348
- " gix-attributes" ,
349
- " gix-ignore" ,
350
- " gix-pathspec" ,
351
- " gix-refspec" ,
352
- " gix-path" ,
353
- " gix-utils" ,
354
- " gix-fs" ,
355
- " gix" ,
356
- " gitoxide-core" ,
357
- " gix-hashtable" ,
358
- " gix-tui" ,
359
- " gix-tix" ,
360
- " gix-archive" ,
361
- " gix-worktree-stream" ,
362
- " gix-revwalk" ,
363
-
364
- " tests/tools" ,
365
-
366
- " gix-diff/tests" ,
367
- " gix-pack/tests" ,
368
- " gix-odb/tests" ,
369
- " gix-worktree-state/tests" ,
370
- " gix-status/tests" ,
371
- " gix-worktree/tests" ,
372
- " gix-index/tests" ,
373
- " gix-ref/tests" ,
374
- " gix-config/tests" ,
375
- " gix-traverse/tests" ,
220
+ " gix-actor" ,
221
+ " gix-url" ,
222
+ " gix-hash" ,
223
+ " gix-validate" ,
224
+ " gix-ref" ,
225
+ " gix-command" ,
226
+ " gix-config" ,
227
+ " gix-config-value" ,
228
+ " gix-discover" ,
229
+ " gix-features" ,
230
+ " gix-trace" ,
231
+ " gix-commitgraph" ,
232
+ " gix-chunk" ,
233
+ " gix-quote" ,
234
+ " gix-object" ,
235
+ " gix-glob" ,
236
+ " gix-diff" ,
237
+ " gix-date" ,
238
+ " gix-traverse" ,
239
+ " gix-index" ,
240
+ " gix-bitmap" ,
241
+ " gix-worktree" ,
242
+ " gix-worktree-state" ,
243
+ " gix-status" ,
244
+ " gix-revision" ,
245
+ " gix-packetline" ,
246
+ " gix-packetline-blocking" ,
247
+ " gix-mailmap" ,
248
+ " gix-macros" ,
249
+ " gix-note" ,
250
+ " gix-negotiate" ,
251
+ " gix-fetchhead" ,
252
+ " gix-prompt" ,
253
+ " gix-filter" ,
254
+ " gix-sec" ,
255
+ " gix-lfs" ,
256
+ " gix-rebase" ,
257
+ " gix-sequencer" ,
258
+ " gix-submodule" ,
259
+ " gix-transport" ,
260
+ " gix-credentials" ,
261
+ " gix-protocol" ,
262
+ " gix-pack" ,
263
+ " gix-odb" ,
264
+ " gix-tempfile" ,
265
+ " gix-lock" ,
266
+ " gix-attributes" ,
267
+ " gix-ignore" ,
268
+ " gix-pathspec" ,
269
+ " gix-refspec" ,
270
+ " gix-path" ,
271
+ " gix-utils" ,
272
+ " gix-fs" ,
273
+ " gix" ,
274
+ " gitoxide-core" ,
275
+ " gix-hashtable" ,
276
+ " gix-tui" ,
277
+ " gix-tix" ,
278
+ " gix-archive" ,
279
+ " gix-worktree-stream" ,
280
+ " gix-revwalk" ,
281
+
282
+ " tests/tools" ,
283
+
284
+ " gix-diff/tests" ,
285
+ " gix-pack/tests" ,
286
+ " gix-odb/tests" ,
287
+ " gix-worktree-state/tests" ,
288
+ " gix-status/tests" ,
289
+ " gix-worktree/tests" ,
290
+ " gix-index/tests" ,
291
+ " gix-ref/tests" ,
292
+ " gix-config/tests" ,
293
+ " gix-traverse/tests" ,
376
294
]
377
295
378
296
[workspace .dependencies ]
0 commit comments