Skip to content

Commit 6c913bf

Browse files
ShaunSHamiltonByron
authored andcommitted
undo formatting changes
1 parent 70923a0 commit 6c913bf

File tree

1 file changed

+87
-169
lines changed

1 file changed

+87
-169
lines changed

Cargo.toml

Lines changed: 87 additions & 169 deletions
Original file line numberDiff line numberDiff line change
@@ -33,68 +33,30 @@ default = ["max"]
3333
## Everything, all at once.
3434
##
3535
## 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"]
4237

4338
## Like `max`, but only Rust is allowed.
4439
##
4540
## 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
4641
## transports as it uses Rust's HTTP implementation.
4742
##
4843
## 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" ]
5645

5746
## 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" ]
7048

7149
## All of the good stuff, with less fanciness for smaller binaries.
7250
##
7351
## 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" ]
8553

8654
## The smallest possible build, best suitable for small single-core machines.
8755
##
8856
## This build is essentially limited to local operations without any fanciness.
8957
##
9058
## 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" ]
9860

9961
## Like lean, but uses Rusts async implementations for networking.
10062
##
@@ -105,16 +67,7 @@ small = [
10567
##
10668
## Due to async client-networking not being implemented for most transports, this one supports only the 'git+tcp' and HTTP transport.
10769
## 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"]
11871

11972
#! ### Package Maintainers
12073
#! `*-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"]
153106
fast-safe = ["gix/max-performance-safe", "gix/comfort"]
154107

155108
## 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" ]
163110

164111
## Use `clap` 3.0 to build the prettiest, best documented and most user-friendly CLI at the expense of binary size.
165112
## Provides a terminal user interface for detailed and exhaustive progress.
166113
## 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" ]
176115

177116
## The `--verbose` flag will be powered by an interactive progress mechanism that doubles as log as well as interactive progress
178117
## 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"]
186119

187120
## 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"]
194122

195123
## 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"]
201125

202126
## Prints statistical information to inform about cache efficiency when those are dropped.
203127
## Use this as a way to understand if bigger caches actually produce greater yiedls.
204128
cache-efficiency-debug = ["gix-features/cache-efficiency-debug"]
205129

206130
## 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"]
212132

213133
## A program to perform analytics on a `git` repository, using an auto-maintained sqlite database
214134
gitoxide-core-tools-query = ["gitoxide-core/query"]
@@ -253,9 +173,7 @@ prodash = { workspace = true, optional = true }
253173
is-terminal = { version = "0.4.0", optional = true }
254174
env_logger = { version = "0.10.0", default-features = false }
255175
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"] }
259177

260178
# for 'tracing'
261179
tracing-forest = { version = "0.1.5", features = ["serde"], optional = true }
@@ -299,80 +217,80 @@ build-override = { opt-level = 0 }
299217

300218
[workspace]
301219
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",
376294
]
377295

378296
[workspace.dependencies]

0 commit comments

Comments
 (0)