1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195
|
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2021"
rust-version = "1.65"
name = "gix-diff"
version = "0.49.0"
authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
build = false
include = [
"src/**/*",
"LICENSE-*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Calculate differences between various git objects"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/GitoxideLabs/gitoxide"
[package.metadata.docs.rs]
all-features = true
features = ["document-features"]
[lib]
name = "gix_diff"
path = "src/lib.rs"
doctest = false
[dependencies.bstr]
version = "1.5.0"
default-features = false
[dependencies.document-features]
version = "0.2.0"
optional = true
[dependencies.gix-command]
version = "^0.4.0"
optional = true
[dependencies.gix-filter]
version = "^0.16.0"
optional = true
[dependencies.gix-fs]
version = "^0.12.1"
optional = true
[dependencies.gix-hash]
version = "^0.15.1"
[dependencies.gix-object]
version = "^0.46.1"
[dependencies.gix-path]
version = "^0.10.13"
optional = true
[dependencies.gix-tempfile]
version = "^15.0.0"
optional = true
[dependencies.gix-trace]
version = "^0.1.11"
optional = true
[dependencies.gix-traverse]
version = "^0.43.1"
optional = true
[dependencies.gix-worktree]
version = "^0.38.0"
features = ["attributes"]
optional = true
default-features = false
[dependencies.imara-diff]
version = "0.1.7"
optional = true
[dependencies.serde]
version = "1.0.114"
features = ["derive"]
optional = true
default-features = false
[dependencies.thiserror]
version = "2.0.0"
[features]
blob = [
"dep:imara-diff",
"dep:gix-filter",
"dep:gix-worktree",
"dep:gix-path",
"dep:gix-fs",
"dep:gix-command",
"dep:gix-tempfile",
"dep:gix-trace",
"dep:gix-traverse",
]
default = ["blob"]
serde = [
"dep:serde",
"gix-hash/serde",
"gix-object/serde",
]
[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]
|