| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.82" |
| 15 |
name = "gix-features" |
| 16 |
version = "0.48.0" |
| 17 |
authors = ["Sebastian Thiel <[email protected]>"] |
| 18 |
build = false |
| 19 |
include = [ |
| 20 |
"/src/**/*", |
| 21 |
"/LICENSE-*", |
| 22 |
] |
| 23 |
autolib = false |
| 24 |
autobins = false |
| 25 |
autoexamples = false |
| 26 |
autotests = false |
| 27 |
autobenches = false |
| 28 |
description = "A crate to integrate various capabilities using compile-time feature flags" |
| 29 |
readme = false |
| 30 |
license = "MIT OR Apache-2.0" |
| 31 |
repository = "https://github.com/GitoxideLabs/gitoxide" |
| 32 |
|
| 33 |
[package.metadata.docs.rs] |
| 34 |
all-features = true |
| 35 |
features = ["document-features"] |
| 36 |
|
| 37 |
[features] |
| 38 |
cache-efficiency-debug = [] |
| 39 |
crc32 = ["dep:crc32fast"] |
| 40 |
default = [] |
| 41 |
fs-read-dir = ["dep:gix-utils"] |
| 42 |
io-pipe = ["dep:bytes"] |
| 43 |
once_cell = ["dep:once_cell"] |
| 44 |
parallel = [ |
| 45 |
"dep:crossbeam-channel", |
| 46 |
"dep:parking_lot", |
| 47 |
] |
| 48 |
progress = ["prodash"] |
| 49 |
progress-unit-bytes = [ |
| 50 |
"dep:bytesize", |
| 51 |
"prodash?/unit-bytes", |
| 52 |
] |
| 53 |
progress-unit-human-numbers = ["prodash?/unit-human"] |
| 54 |
tracing = ["gix-trace/tracing"] |
| 55 |
tracing-detail = ["gix-trace/tracing-detail"] |
| 56 |
walkdir = [ |
| 57 |
"dep:walkdir", |
| 58 |
"dep:gix-path", |
| 59 |
"dep:gix-utils", |
| 60 |
] |
| 61 |
zlib = [ |
| 62 |
"dep:zlib-rs", |
| 63 |
"dep:thiserror", |
| 64 |
] |
| 65 |
|
| 66 |
[lib] |
| 67 |
name = "gix_features" |
| 68 |
path = "src/lib.rs" |
| 69 |
test = false |
| 70 |
doctest = false |
| 71 |
|
| 72 |
[dependencies.bytes] |
| 73 |
version = "1.11.1" |
| 74 |
optional = true |
| 75 |
|
| 76 |
[dependencies.bytesize] |
| •77 |
version = ">= 1, < 3" |
| 78 |
optional = true |
| 79 |
|
| 80 |
[dependencies.crc32fast] |
| 81 |
version = "1.5.0" |
| 82 |
optional = true |
| 83 |
|
| 84 |
[dependencies.crossbeam-channel] |
| 85 |
version = "0.5.15" |
| 86 |
optional = true |
| 87 |
|
| 88 |
[dependencies.document-features] |
| 89 |
version = "0.2.0" |
| 90 |
optional = true |
| 91 |
|
| 92 |
[dependencies.gix-path] |
| 93 |
version = "^0.12.0" |
| 94 |
optional = true |
| 95 |
|
| 96 |
[dependencies.gix-trace] |
| 97 |
version = "^0.1.19" |
| 98 |
|
| 99 |
[dependencies.gix-utils] |
| 100 |
version = "^0.3.2" |
| 101 |
optional = true |
| 102 |
|
| 103 |
[dependencies.once_cell] |
| 104 |
version = "1.21.3" |
| 105 |
optional = true |
| 106 |
|
| 107 |
[dependencies.parking_lot] |
| 108 |
version = "0.12.4" |
| 109 |
optional = true |
| 110 |
default-features = false |
| 111 |
|
| 112 |
[dependencies.prodash] |
| •113 |
version = "28" |
| 114 |
optional = true |
| 115 |
|
| 116 |
[dependencies.thiserror] |
| 117 |
version = "2.0.18" |
| 118 |
optional = true |
| 119 |
|
| 120 |
[dependencies.walkdir] |
| 121 |
version = "2.3.2" |
| 122 |
optional = true |
| 123 |
|
| 124 |
[dependencies.zlib-rs] |
| 125 |
version = "0.6.2" |
| 126 |
optional = true |
| 127 |
|
| 128 |
[dev-dependencies.bstr] |
| 129 |
version = "1.12.0" |
| 130 |
default-features = false |
| 131 |
|
| 132 |
[target."cfg(unix)".dependencies.libc] |
| 133 |
version = "0.2.182" |
| 134 |
|
| 135 |
[lints.clippy] |
| 136 |
bool_to_int_with_if = "allow" |
| 137 |
borrow_as_ptr = "allow" |
| 138 |
cast_lossless = "allow" |
| 139 |
cast_possible_truncation = "allow" |
| 140 |
cast_possible_wrap = "allow" |
| 141 |
cast_precision_loss = "allow" |
| 142 |
cast_sign_loss = "allow" |
| 143 |
checked_conversions = "allow" |
| 144 |
copy_iterator = "allow" |
| 145 |
default_trait_access = "allow" |
| 146 |
doc_markdown = "allow" |
| 147 |
empty_docs = "allow" |
| 148 |
enum_glob_use = "allow" |
| 149 |
explicit_deref_methods = "allow" |
| 150 |
explicit_into_iter_loop = "allow" |
| 151 |
explicit_iter_loop = "allow" |
| 152 |
filter_map_next = "allow" |
| 153 |
fn_params_excessive_bools = "allow" |
| 154 |
from_iter_instead_of_collect = "allow" |
| 155 |
if_not_else = "allow" |
| 156 |
ignored_unit_patterns = "allow" |
| 157 |
implicit_clone = "allow" |
| 158 |
inconsistent_struct_constructor = "allow" |
| 159 |
inefficient_to_string = "allow" |
| 160 |
inline_always = "allow" |
| 161 |
items_after_statements = "allow" |
| 162 |
iter_not_returning_iterator = "allow" |
| 163 |
iter_without_into_iter = "allow" |
| 164 |
large_enum_variant = "allow" |
| 165 |
large_stack_arrays = "allow" |
| 166 |
manual_assert = "allow" |
| 167 |
manual_is_variant_and = "allow" |
| 168 |
manual_let_else = "allow" |
| 169 |
manual_string_new = "allow" |
| 170 |
many_single_char_names = "allow" |
| 171 |
match_bool = "allow" |
| 172 |
match_same_arms = "allow" |
| 173 |
match_wild_err_arm = "allow" |
| 174 |
match_wildcard_for_single_variants = "allow" |
| 175 |
missing_errors_doc = "allow" |
| 176 |
missing_panics_doc = "allow" |
| 177 |
module_name_repetitions = "allow" |
| 178 |
must_use_candidate = "allow" |
| 179 |
mut_mut = "allow" |
| 180 |
naive_bytecount = "allow" |
| 181 |
needless_continue = "allow" |
| 182 |
needless_for_each = "allow" |
| 183 |
needless_pass_by_value = "allow" |
| 184 |
needless_raw_string_hashes = "allow" |
| 185 |
no_effect_underscore_binding = "allow" |
| 186 |
option_option = "allow" |
| 187 |
range_plus_one = "allow" |
| 188 |
redundant_else = "allow" |
| 189 |
result_large_err = "allow" |
| 190 |
return_self_not_must_use = "allow" |
| 191 |
should_panic_without_expect = "allow" |
| 192 |
similar_names = "allow" |
| 193 |
single_match_else = "allow" |
| 194 |
stable_sort_primitive = "allow" |
| 195 |
struct_excessive_bools = "allow" |
| 196 |
struct_field_names = "allow" |
| 197 |
too_long_first_doc_paragraph = "allow" |
| 198 |
too_many_lines = "allow" |
| 199 |
transmute_ptr_to_ptr = "allow" |
| 200 |
trivially_copy_pass_by_ref = "allow" |
| 201 |
unnecessary_join = "allow" |
| 202 |
unnecessary_wraps = "allow" |
| 203 |
unreadable_literal = "allow" |
| 204 |
unused_self = "allow" |
| 205 |
used_underscore_binding = "allow" |
| 206 |
wildcard_imports = "allow" |
| 207 |
|
| 208 |
[lints.clippy.pedantic] |
| 209 |
level = "warn" |
| 210 |
priority = -1 |
| 211 |
|
| 212 |
[lints.rust] |