| @@ -45,7 +45,7 @@ max = ["max-control", "fast", "gitoxide-core-tools-query", "gitoxide-core-tools- · 44 unmodified lines |
| 45 | ## transports as it uses Rust's HTTP implementation. | 45 | ## transports as it uses Rust's HTTP implementation. |
| 46 | ## | 46 | ## |
| 47 | ## 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. | 47 | ## 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. |
| 48 | max-pure = ["max-control", "gix-features/rustsha1", "gix-features/zlib-rust-backend", "http-client-reqwest", "gitoxide-core-blocking-client"] | 48 | max-pure = ["max-control", "gix-features/zlib-rust-backend", "http-client-reqwest", "gitoxide-core-blocking-client"] |
| 49 | | 49 | |
| 50 | ## Like `max`, but with more control for configuration. See the *Package Maintainers* headline for more information. | 50 | ## Like `max`, but with more control for configuration. See the *Package Maintainers* headline for more information. |
| 51 | max-control = ["tracing", "fast-safe", "pretty-cli", "gitoxide-core-tools", "prodash-render-line", "prodash-render-tui", "prodash/render-line-autoconfigure", "gix/revparse-regex"] | 51 | max-control = ["tracing", "fast-safe", "pretty-cli", "gitoxide-core-tools", "prodash-render-line", "prodash-render-tui", "prodash/render-line-autoconfigure", "gix/revparse-regex"] |
| @@ -60,7 +60,7 @@ lean = ["fast", "tracing", "pretty-cli", "http-client-curl", "gitoxide-core-tool · 8 unmodified lines |
| 60 | ## This build is essentially limited to local operations without any fanciness. | 60 | ## This build is essentially limited to local operations without any fanciness. |
| 61 | ## | 61 | ## |
| 62 | ## Optimized for size, no parallelism thus much slower, progress line rendering. | 62 | ## Optimized for size, no parallelism thus much slower, progress line rendering. |
| 63 | small = ["pretty-cli", "gix-features/rustsha1", "gix-features/zlib-rust-backend", "prodash-render-line", "is-terminal"] | 63 | small = ["pretty-cli", "gix-features/zlib-rust-backend", "prodash-render-line", "is-terminal"] |
| 64 | | 64 | |
| 65 | ## Like lean, but uses Rusts async implementations for networking. | 65 | ## Like lean, but uses Rusts async implementations for networking. |
| 66 | ## | 66 | ## |
| @@ -74,7 +74,7 @@ small = ["pretty-cli", "gix-features/rustsha1", "gix-features/zlib-rust-backend" · 7 unmodified lines |
| 74 | lean-async = ["fast", "tracing", "pretty-cli", "gitoxide-core-tools", "gitoxide-core-tools-query", "gitoxide-core-tools-corpus", "gitoxide-core-async-client", "prodash-render-line"] | 74 | lean-async = ["fast", "tracing", "pretty-cli", "gitoxide-core-tools", "gitoxide-core-tools-query", "gitoxide-core-tools-corpus", "gitoxide-core-async-client", "prodash-render-line"] |
| 75 | | 75 | |
| 76 | #! ### Package Maintainers | 76 | #! ### Package Maintainers |
| 77 | #! `*-control` features leave it to you to configure C libraries, involving choices for `zlib`, ! hashing and transport implementation. | 77 | #! `*-control` features leave it to you to configure C libraries, involving choices for `zlib` and transport implementation. |
| 78 | #! | 78 | #! |
| 79 | #! Additional features *can* be provided with `--features` and are handled by the [`gix-features` crate](https://docs.rs/gix-features/latest). | 79 | #! Additional features *can* be provided with `--features` and are handled by the [`gix-features` crate](https://docs.rs/gix-features/latest). |
| 80 | #! If nothing else is specified, the Rust implementation is used. ! Note that only one feature of each section can be enabled at a time. | 80 | #! If nothing else is specified, the Rust implementation is used. ! Note that only one feature of each section can be enabled at a time. |
| @@ -84,28 +84,25 @@ lean-async = ["fast", "tracing", "pretty-cli", "gitoxide-core-tools", "gitoxide- · 3 unmodified lines |
| 84 | #! - `gix-features/zlib-ng-compat` | 84 | #! - `gix-features/zlib-ng-compat` |
| 85 | #! - `gix-features/zlib-stock` | 85 | #! - `gix-features/zlib-stock` |
| 86 | #! - `gix-features/zlib-rust-backend` (*default if no choice is made*) | 86 | #! - `gix-features/zlib-rust-backend` (*default if no choice is made*) |
| 87 | #! * **sha1** | | |
| 88 | #! - `gix-features/fast-sha1` | | |
| 89 | #! - `gix-features/rustsha1` (*default if no choice is made*) | | |
| 90 | #! * **HTTP** - see the *Building Blocks for mutually exclusive networking* headline | 87 | #! * **HTTP** - see the *Building Blocks for mutually exclusive networking* headline |
| 91 | #! | 88 | #! |
| 92 | #! #### Examples | 89 | #! #### Examples |
| 93 | #! | 90 | #! |
| 94 | #! * `cargo build --release --no-default-features --features max-control,gix-features/zlib-stock,gitoxide-core-blocking-client,http-client-curl` | 91 | #! * `cargo build --release --no-default-features --features max-control,gix-features/zlib-stock,gitoxide-core-blocking-client,http-client-curl` |
| 95 | #! - Create a build just like `max`, but using the stock `zlib` library instead of `zlib-ng` | 92 | #! - Create a build just like `max`, but using the stock `zlib` library instead of `zlib-ng` |
| 96 | #! * `cargo build --release --no-default-features --features max-control,http-client-reqwest,gitoxide-core-blocking-client,gix-features/fast-sha1` | 93 | #! * `cargo build --release --no-default-features --features max-control,http-client-reqwest,gitoxide-core-blocking-client,gix-features/zlib-ng` |
| 97 | #! - Create a build just like `max-pure`, but with faster hashing due to `fast-sha1`. | 94 | #! - Create a build just like `max-pure`, but with faster compression due to `zlib-ng`. |
| 98 | | 95 | |
| 99 | #! ### Building Blocks | 96 | #! ### Building Blocks |
| 100 | #! Typical combinations of features of our dependencies, some of which are referred to in the `gitoxide` crate's code for conditional compilation. | 97 | #! Typical combinations of features of our dependencies, some of which are referred to in the `gitoxide` crate's code for conditional compilation. |
| 101 | | 98 | |
| 102 | ## Makes the crate execute as fast as possible by supporting parallel computation of otherwise long-running functions | 99 | ## Makes the crate execute as fast as possible by supporting parallel computation of otherwise long-running functions |
| 103 | ## as well as fast, hardware accelerated hashing, along with a faster zlib backend. | 100 | ## as well as a faster zlib backend. |
| 104 | ## If disabled, the binary will be visibly smaller. | 101 | ## If disabled, the binary will be visibly smaller. |
| 105 | fast = ["gix/max-performance", "gix/comfort"] | 102 | fast = ["gix/max-performance", "gix/comfort"] |
| 106 | | 103 | |
| 107 | ## Makes the crate execute as fast as possible by supporting parallel computation of otherwise long-running functions | 104 | ## Makes the crate execute as fast as possible by supporting parallel computation of otherwise long-running functions |
| 108 | ## as well as fast, hardware accelerated hashing, along with a faster zlib backend. | 105 | ## as well as a faster zlib backend. |
| 109 | ## If disabled, the binary will be visibly smaller. | 106 | ## If disabled, the binary will be visibly smaller. |
| 110 | fast-safe = ["gix/max-performance-safe", "gix/comfort"] | 107 | fast-safe = ["gix/max-performance-safe", "gix/comfort"] |
| 111 | | 108 | |