gix-features 0.39.0

A crate to integrate various capabilities using compile-time feature flags
Documentation
[dependencies.bytes]
optional = true
version = "1.0.0"

[dependencies.bytesize]
optional = true
version = "1.0.1"

[dependencies.crc32fast]
optional = true
version = "1.2.1"

[dependencies.crossbeam-channel]
optional = true
version = "0.5.0"

[dependencies.document-features]
optional = true
version = "0.2.0"

[dependencies.flate2]
default-features = false
optional = true
version = "1.0.33"

[dependencies.gix-hash]
version = "^0.15.0"

[dependencies.gix-trace]
version = "^0.1.11"

[dependencies.gix-utils]
optional = true
version = "^0.1.13"

[dependencies.jwalk]
optional = true
version = "0.8.1"

[dependencies.once_cell]
optional = true
version = "1.13.0"

[dependencies.parking_lot]
default-features = false
optional = true
version = "0.12.0"

[dependencies.prodash]
optional = true
version = "29.0.0"

[dependencies.sha1]
optional = true
version = "0.10.0"

[dependencies.sha1_smol]
optional = true
version = "1.0.0"

[dependencies.thiserror]
optional = true
version = "1.0.38"

[dependencies.walkdir]
optional = true
version = "2.3.2"

[dev-dependencies.bstr]
default-features = false
version = "1.3.0"

[features]
cache-efficiency-debug = []
crc32 = ["dep:crc32fast"]
default = []
fast-sha1 = ["dep:sha1"]
fs-read-dir = ["dep:gix-utils"]
fs-walkdir-parallel = ["dep:jwalk", "dep:gix-utils"]
io-pipe = ["dep:bytes"]
once_cell = ["dep:once_cell"]
parallel = ["dep:crossbeam-channel", "dep:parking_lot"]
progress = ["prodash"]
progress-unit-bytes = ["dep:bytesize", "prodash?/unit-bytes"]
progress-unit-human-numbers = ["prodash?/unit-human"]
rustsha1 = ["dep:sha1_smol"]
tracing = ["gix-trace/tracing"]
tracing-detail = ["gix-trace/tracing-detail"]
walkdir = ["dep:walkdir", "dep:gix-utils"]
zlib = ["dep:flate2", "flate2?/rust_backend", "dep:thiserror"]
zlib-ng = ["zlib", "flate2?/zlib-ng"]
zlib-ng-compat = ["zlib", "flate2?/zlib-ng-compat"]
zlib-rust-backend = ["zlib", "flate2?/rust_backend"]
zlib-stock = ["zlib", "flate2?/zlib"]

[lib]
doctest = false
name = "gix_features"
path = "src/lib.rs"
test = false

[lints.clippy]
bool_to_int_with_if = "allow"
borrow_as_ptr = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
checked_conversions = "allow"
copy_iterator = "allow"
default_trait_access = "allow"
doc_markdown = "allow"
empty_docs = "allow"
enum_glob_use = "allow"
explicit_deref_methods = "allow"
explicit_into_iter_loop = "allow"
explicit_iter_loop = "allow"
filter_map_next = "allow"
fn_params_excessive_bools = "allow"
from_iter_instead_of_collect = "allow"
if_not_else = "allow"
ignored_unit_patterns = "allow"
implicit_clone = "allow"
inconsistent_struct_constructor = "allow"
inefficient_to_string = "allow"
inline_always = "allow"
items_after_statements = "allow"
iter_not_returning_iterator = "allow"
iter_without_into_iter = "allow"
manual_assert = "allow"
manual_is_variant_and = "allow"
manual_let_else = "allow"
manual_string_new = "allow"
many_single_char_names = "allow"
match_bool = "allow"
match_same_arms = "allow"
match_wild_err_arm = "allow"
match_wildcard_for_single_variants = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
mut_mut = "allow"
naive_bytecount = "allow"
needless_for_each = "allow"
needless_pass_by_value = "allow"
needless_raw_string_hashes = "allow"
no_effect_underscore_binding = "allow"
option_option = "allow"
range_plus_one = "allow"
redundant_else = "allow"
return_self_not_must_use = "allow"
should_panic_without_expect = "allow"
similar_names = "allow"
single_match_else = "allow"
stable_sort_primitive = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
too_long_first_doc_paragraph = "allow"
too_many_lines = "allow"
transmute_ptr_to_ptr = "allow"
trivially_copy_pass_by_ref = "allow"
unnecessary_join = "allow"
unnecessary_wraps = "allow"
unreadable_literal = "allow"
unused_self = "allow"
used_underscore_binding = "allow"
wildcard_imports = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]

[package]
authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "A crate to integrate various capabilities using compile-time feature flags"
edition = "2021"
include = ["src/**/*", "LICENSE-*"]
license = "MIT OR Apache-2.0"
name = "gix-features"
readme = false
repository = "https://github.com/GitoxideLabs/gitoxide"
rust-version = "1.65"
version = "0.39.0"

[package.metadata.docs.rs]
all-features = true
features = ["document-features"]

[target.'cfg(all(any(target_arch = "aarch64", target_arch = "x86", target_arch = "x86_64"), not(target_os = "windows")))'.dependencies.sha1]
features = ["asm"]
optional = true
version = "0.10.0"

[target."cfg(unix)".dependencies.libc]
version = "0.2.119"