@@ -34,30 +34,68 @@ default = ["max"]
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
36
# # Can be amended with the `http-client-curl-rustls` feature to avoid `openssl` as backend.
37
- max = [" max-control" , " fast" , " gitoxide-core-blocking-client" , " http-client-curl" ]
37
+ max = [
38
+ " max-control" ,
39
+ " fast" ,
40
+ " gitoxide-core-blocking-client" ,
41
+ " http-client-curl" ,
42
+ ]
38
43
39
44
# # Like `max`, but only Rust is allowed.
40
45
# #
41
46
# # 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
42
47
# # transports as it uses Rust's HTTP implementation.
43
48
# #
44
49
# # 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.
45
- max-pure = [" max-control" , " gix-features/rustsha1" , " gix-features/zlib-rust-backend" , " http-client-reqwest" , " gitoxide-core-blocking-client" ]
50
+ max-pure = [
51
+ " max-control" ,
52
+ " gix-features/rustsha1" ,
53
+ " gix-features/zlib-rust-backend" ,
54
+ " http-client-reqwest" ,
55
+ " gitoxide-core-blocking-client" ,
56
+ ]
46
57
47
58
# # Like `max`, but with more control for configuration. See the *Package Maintainers* headline for more information.
48
- 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" ]
59
+ max-control = [
60
+ " tracing" ,
61
+ " fast-safe" ,
62
+ " pretty-cli" ,
63
+ " gitoxide-core-tools-query" ,
64
+ " gitoxide-core-tools-corpus" ,
65
+ " gitoxide-core-tools" ,
66
+ " prodash-render-line" ,
67
+ " prodash-render-tui" ,
68
+ " prodash/render-line-autoconfigure" ,
69
+ " gix/revparse-regex" ,
70
+ ]
49
71
50
72
# # All of the good stuff, with less fanciness for smaller binaries.
51
73
# #
52
74
# # 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.
53
- 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" ]
75
+ lean = [
76
+ " fast" ,
77
+ " tracing" ,
78
+ " pretty-cli" ,
79
+ " http-client-curl" ,
80
+ " gitoxide-core-tools-query" ,
81
+ " gitoxide-core-tools-corpus" ,
82
+ " gitoxide-core-tools" ,
83
+ " gitoxide-core-blocking-client" ,
84
+ " prodash-render-line" ,
85
+ ]
54
86
55
87
# # The smallest possible build, best suitable for small single-core machines.
56
88
# #
57
89
# # This build is essentially limited to local operations without any fanciness.
58
90
# #
59
91
# # Optimized for size, no parallelism thus much slower, progress line rendering.
60
- small = [" pretty-cli" , " gix-features/rustsha1" , " gix-features/zlib-rust-backend" , " prodash-render-line" , " is-terminal" ]
92
+ small = [
93
+ " pretty-cli" ,
94
+ " gix-features/rustsha1" ,
95
+ " gix-features/zlib-rust-backend" ,
96
+ " prodash-render-line" ,
97
+ " is-terminal" ,
98
+ ]
61
99
62
100
# # Like lean, but uses Rusts async implementations for networking.
63
101
# #
@@ -68,7 +106,16 @@ small = ["pretty-cli", "gix-features/rustsha1", "gix-features/zlib-rust-backend"
68
106
# #
69
107
# # Due to async client-networking not being implemented for most transports, this one supports only the 'git+tcp' and HTTP transport.
70
108
# # It uses, however, a fully asynchronous networking implementation which can serve a real-world example on how to implement custom async transports.
71
- lean-async = [" fast" , " tracing" , " pretty-cli" , " gitoxide-core-tools" , " gitoxide-core-tools-query" , " gitoxide-core-tools-corpus" , " gitoxide-core-async-client" , " prodash-render-line" ]
109
+ lean-async = [
110
+ " fast" ,
111
+ " tracing" ,
112
+ " pretty-cli" ,
113
+ " gitoxide-core-tools" ,
114
+ " gitoxide-core-tools-query" ,
115
+ " gitoxide-core-tools-corpus" ,
116
+ " gitoxide-core-async-client" ,
117
+ " prodash-render-line" ,
118
+ ]
72
119
73
120
# ! ### Package Maintainers
74
121
# ! `*-control` features leave it to you to configure C libraries, involving choices for `zlib`, ! hashing and transport implementation.
@@ -107,29 +154,63 @@ fast = ["gix/max-performance", "gix/comfort"]
107
154
fast-safe = [" gix/max-performance-safe" , " gix/comfort" ]
108
155
109
156
# # Enable tracing in `gitoxide-core`.
110
- tracing = [" dep:tracing-forest" , " dep:tracing-subscriber" , " dep:tracing" , " gix-features/tracing" , " gix-features/tracing-detail" ]
157
+ tracing = [
158
+ " dep:tracing-forest" ,
159
+ " dep:tracing-subscriber" ,
160
+ " dep:tracing" ,
161
+ " gix-features/tracing" ,
162
+ " gix-features/tracing-detail" ,
163
+ ]
111
164
112
165
# # Use `clap` 3.0 to build the prettiest, best documented and most user-friendly CLI at the expense of binary size.
113
166
# # Provides a terminal user interface for detailed and exhaustive progress.
114
167
# # Provides a line renderer for leaner progress display, without the need for a full-blown TUI.
115
- 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" ]
168
+ pretty-cli = [
169
+ " gitoxide-core/serde" ,
170
+ " prodash/progress-tree" ,
171
+ " prodash/progress-tree-log" ,
172
+ " prodash/local-time" ,
173
+ " env_logger/humantime" ,
174
+ " env_logger/color" ,
175
+ " env_logger/auto-color" ,
176
+ ]
116
177
117
178
# # The `--verbose` flag will be powered by an interactive progress mechanism that doubles as log as well as interactive progress
118
179
# # that appears after a short duration.
119
- prodash-render-line-crossterm = [" prodash-render-line" , " prodash/render-line-crossterm" , " prodash/signal-hook" , " is-terminal" , " crosstermion" ]
180
+ prodash-render-line-crossterm = [
181
+ " prodash-render-line" ,
182
+ " prodash/render-line-crossterm" ,
183
+ " prodash/signal-hook" ,
184
+ " is-terminal" ,
185
+ " crosstermion" ,
186
+ ]
120
187
121
188
# # Progress reporting with a TUI, can then be enabled with the `--progress` flag.
122
- prodash-render-tui = [" prodash/render-tui" , " prodash/render-tui-crossterm" , " gix/progress-tree" , " futures-lite" ]
189
+ prodash-render-tui = [
190
+ " prodash/render-tui" ,
191
+ " prodash/render-tui-crossterm" ,
192
+ " gix/progress-tree" ,
193
+ " futures-lite" ,
194
+ ]
123
195
124
196
# # Progress reporting by visually drawing lines into the terminal without switching to an alternate window.
125
- prodash-render-line = [" prodash/render-line" , " prodash-render-line-crossterm" , " gix/progress-tree" ]
197
+ prodash-render-line = [
198
+ " prodash/render-line" ,
199
+ " prodash-render-line-crossterm" ,
200
+ " gix/progress-tree" ,
201
+ ]
126
202
127
203
# # Prints statistical information to inform about cache efficiency when those are dropped.
128
204
# # Use this as a way to understand if bigger caches actually produce greater yiedls.
129
205
cache-efficiency-debug = [" gix-features/cache-efficiency-debug" ]
130
206
131
207
# # A way to enable most `gitoxide-core` tools found in `ein tools`, namely `organize` and `estimate hours`.
132
- gitoxide-core-tools = [" gitoxide-core/organize" , " gitoxide-core/estimate-hours" , " gitoxide-core-tools-archive" , " gitoxide-core-tools-clean" ]
208
+ gitoxide-core-tools = [
209
+ " gitoxide-core/organize" ,
210
+ " gitoxide-core/estimate-hours" ,
211
+ " gitoxide-core-tools-archive" ,
212
+ " gitoxide-core-tools-clean" ,
213
+ ]
133
214
134
215
# # A program to perform analytics on a `git` repository, using an auto-maintained sqlite database
135
216
gitoxide-core-tools-query = [" gitoxide-core/query" ]
@@ -190,7 +271,6 @@ tracing = { version = "0.1.37", optional = true }
190
271
owo-colors = " 4.0.0"
191
272
192
273
# for config-tree
193
- tabled = { version = " 0.15.0" , features = [" ansi" ] }
194
274
terminal_size = " 0.3.0"
195
275
196
276
# Avoid pre-compiled binaries, see https://github.com/serde-rs/serde/issues/2538 and https://github.com/serde-rs/serde/pull/2590
@@ -306,7 +386,9 @@ members = [
306
386
307
387
[workspace .dependencies ]
308
388
prodash = { version = " 28.0.0" , default-features = false }
309
- futures-lite = { version = " 2.1.0" , default-features = false , features = [" std" ] }
389
+ futures-lite = { version = " 2.1.0" , default-features = false , features = [
390
+ " std" ,
391
+ ] }
310
392
faster-hex = { version = " 0.9.0" , default-features = false }
311
393
312
394
[package .metadata .docs .rs ]
0 commit comments