| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2024" |
| 14 |
rust-version = "1.85" |
| 15 |
name = "gix-utils" |
| 16 |
version = "0.3.5" |
| 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 with `gitoxide` utilities that don't need feature toggles" |
| 29 |
readme = false |
| 30 |
license = "MIT OR Apache-2.0" |
| 31 |
repository = "https://github.com/GitoxideLabs/gitoxide" |
| 32 |
resolver = "2" |
| 33 |
|
| 34 |
[features] |
| 35 |
bstr = ["dep:bstr"] |
| 36 |
|
| 37 |
[lib] |
| 38 |
name = "gix_utils" |
| 39 |
path = "src/lib.rs" |
| 40 |
doctest = true |
| 41 |
|
| 42 |
[dependencies.bstr] |
| 43 |
version = "1.12.0" |
| 44 |
features = ["std"] |
| 45 |
optional = true |
| 46 |
default-features = false |
| 47 |
|
| 48 |
[dependencies.fastrand] |
| •49 |
version = ">=2.3,<2.6" |
| 50 |
default-features = false |
| 51 |
|
| 52 |
[dependencies.unicode-normalization] |
| 53 |
version = "0.1.19" |
| 54 |
default-features = false |
| 55 |
|
| 56 |
[dev-dependencies] |
| 57 |
|
| 58 |
[target.'cfg(not(all(target_arch = "wasm32", target_os = "unknown")))'.dependencies.getrandom] |
| 59 |
version = "0.4" |
| 60 |
|
| 61 |
[lints.clippy] |
| 62 |
bool_to_int_with_if = "allow" |
| 63 |
borrow_as_ptr = "allow" |
| 64 |
cast_lossless = "allow" |
| 65 |
cast_possible_truncation = "allow" |
| 66 |
cast_possible_wrap = "allow" |
| 67 |
cast_precision_loss = "allow" |
| 68 |
cast_sign_loss = "allow" |
| 69 |
checked_conversions = "allow" |
| 70 |
copy_iterator = "allow" |
| 71 |
default_trait_access = "allow" |
| 72 |
doc_markdown = "allow" |
| 73 |
empty_docs = "allow" |
| 74 |
enum_glob_use = "allow" |
| 75 |
explicit_deref_methods = "allow" |
| 76 |
explicit_into_iter_loop = "allow" |
| 77 |
explicit_iter_loop = "allow" |
| 78 |
filter_map_next = "allow" |
| 79 |
fn_params_excessive_bools = "allow" |
| 80 |
from_iter_instead_of_collect = "allow" |
| 81 |
if_not_else = "allow" |
| 82 |
ignored_unit_patterns = "allow" |
| 83 |
implicit_clone = "allow" |
| 84 |
inconsistent_struct_constructor = "allow" |
| 85 |
inefficient_to_string = "allow" |
| 86 |
inline_always = "allow" |
| 87 |
items_after_statements = "allow" |
| 88 |
iter_not_returning_iterator = "allow" |
| 89 |
iter_without_into_iter = "allow" |
| 90 |
large_enum_variant = "allow" |
| 91 |
large_stack_arrays = "allow" |
| 92 |
manual_assert = "allow" |
| 93 |
manual_is_variant_and = "allow" |
| 94 |
manual_let_else = "allow" |
| 95 |
manual_string_new = "allow" |
| 96 |
many_single_char_names = "allow" |
| 97 |
match_bool = "allow" |
| 98 |
match_same_arms = "allow" |
| 99 |
match_wild_err_arm = "allow" |
| 100 |
match_wildcard_for_single_variants = "allow" |
| 101 |
missing_errors_doc = "allow" |
| 102 |
missing_panics_doc = "allow" |
| 103 |
module_name_repetitions = "allow" |
| 104 |
must_use_candidate = "allow" |
| 105 |
mut_mut = "allow" |
| 106 |
naive_bytecount = "allow" |
| 107 |
needless_continue = "allow" |
| 108 |
needless_for_each = "allow" |
| 109 |
needless_pass_by_value = "allow" |
| 110 |
needless_raw_string_hashes = "allow" |
| 111 |
no_effect_underscore_binding = "allow" |
| 112 |
option_option = "allow" |
| 113 |
range_plus_one = "allow" |
| 114 |
redundant_else = "allow" |
| 115 |
result_large_err = "allow" |
| 116 |
return_self_not_must_use = "allow" |
| 117 |
should_panic_without_expect = "allow" |
| 118 |
similar_names = "allow" |
| 119 |
single_match_else = "allow" |
| 120 |
stable_sort_primitive = "allow" |
| 121 |
struct_excessive_bools = "allow" |
| 122 |
struct_field_names = "allow" |
| 123 |
too_long_first_doc_paragraph = "allow" |
| 124 |
too_many_lines = "allow" |
| 125 |
transmute_ptr_to_ptr = "allow" |
| 126 |
trivially_copy_pass_by_ref = "allow" |
| 127 |
unnecessary_join = "allow" |
| 128 |
unnecessary_wraps = "allow" |
| 129 |
unreadable_literal = "allow" |
| 130 |
unused_self = "allow" |
| 131 |
used_underscore_binding = "allow" |
| 132 |
wildcard_imports = "allow" |
| 133 |
|
| 134 |
[lints.clippy.pedantic] |
| 135 |
level = "warn" |
| 136 |
priority = -1 |
| 137 |
|
| 138 |
[lints.rust] |