This repository has no description
5.2 kB
235 lines
1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies.
7#
8# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13edition = "2024"
14rust-version = "1.85"
15name = "gix-pack"
16version = "0.71.0"
17authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
18build = false
19include = [
20 "/src/**/*",
21 "/LICENSE-*",
22]
23autolib = false
24autobins = false
25autoexamples = false
26autotests = false
27autobenches = false
28description = "Implements git packs and related data structures"
29readme = false
30license = "MIT OR Apache-2.0"
31repository = "https://github.com/GitoxideLabs/gitoxide"
32resolver = "2"
33
34[package.metadata.docs.rs]
35all-features = true
36features = [
37 "sha1",
38 "sha256",
39 "document-features",
40 "pack-cache-lru-dynamic",
41 "object-cache-dynamic",
42 "serde",
43]
44
45[features]
46default = [
47 "generate",
48 "streaming-input",
49]
50generate = [
51 "dep:gix-traverse",
52 "dep:gix-diff",
53 "dep:parking_lot",
54 "dep:gix-hashtable",
55]
56object-cache-dynamic = [
57 "dep:clru",
58 "dep:gix-hashtable",
59]
60pack-cache-lru-dynamic = ["dep:clru"]
61pack-cache-lru-static = ["dep:uluru"]
62parallel = ["gix-features/parallel"]
63serde = [
64 "dep:serde",
65 "gix-object/serde",
66]
67sha1 = ["gix-hash/sha1"]
68sha256 = ["gix-hash/sha256"]
69streaming-input = [
70 "dep:parking_lot",
71 "dep:gix-tempfile",
72]
73wasm = ["gix-diff?/wasm"]
74
75[lib]
76name = "gix_pack"
77path = "src/lib.rs"
78doctest = false
79
80[dependencies.clru]
81version = "0.6.1"
82optional = true
83
84[dependencies.document-features]
85version = "0.2.0"
86optional = true
87
88[dependencies.gix-chunk]
89version = "^0.7.2"
90
91[dependencies.gix-diff]
92version = "^0.64.0"
93optional = true
94default-features = false
95
96[dependencies.gix-error]
97version = "^0.2.4"
98
99[dependencies.gix-features]
100version = "^0.48.1"
101features = [
102 "crc32",
103 "progress",
104 "zlib",
105]
106
107[dependencies.gix-hash]
108version = "^0.25.1"
109
110[dependencies.gix-hashtable]
111version = "^0.15.1"
112optional = true
113
114[dependencies.gix-object]
115version = "^0.61.0"
116
117[dependencies.gix-path]
118version = "^0.12.1"
119
120[dependencies.gix-traverse]
121version = "^0.58.0"
122optional = true
123
124[dependencies.parking_lot]
125version = "0.12.4"
126optional = true
127default-features = false
128
129[dependencies.serde]
130version = "1.0.114"
131features = ["derive"]
132optional = true
133default-features = false
134
135[dependencies.smallvec]
136version = "1.15.1"
137
138[dependencies.thiserror]
139version = "2.0.18"
140
141[dependencies.uluru]
142version = "3.0.0"
143optional = true
144
145[dev-dependencies.bstr]
146version = "1.12.0"
147features = ["std"]
148default-features = false
149
150[dev-dependencies.maplit]
151version = "1.0.2"
152
153[target.'cfg(not(target_arch = "wasm32"))'.dependencies.gix-tempfile]
154version = "^23.0.0"
155optional = true
156default-features = false
157
158[lints.clippy]
159bool_to_int_with_if = "allow"
160borrow_as_ptr = "allow"
161cast_lossless = "allow"
162cast_possible_truncation = "allow"
163cast_possible_wrap = "allow"
164cast_precision_loss = "allow"
165cast_sign_loss = "allow"
166checked_conversions = "allow"
167copy_iterator = "allow"
168default_trait_access = "allow"
169doc_markdown = "allow"
170empty_docs = "allow"
171enum_glob_use = "allow"
172explicit_deref_methods = "allow"
173explicit_into_iter_loop = "allow"
174explicit_iter_loop = "allow"
175filter_map_next = "allow"
176fn_params_excessive_bools = "allow"
177from_iter_instead_of_collect = "allow"
178if_not_else = "allow"
179ignored_unit_patterns = "allow"
180implicit_clone = "allow"
181inconsistent_struct_constructor = "allow"
182inefficient_to_string = "allow"
183inline_always = "allow"
184items_after_statements = "allow"
185iter_not_returning_iterator = "allow"
186iter_without_into_iter = "allow"
187large_enum_variant = "allow"
188large_stack_arrays = "allow"
189manual_assert = "allow"
190manual_is_variant_and = "allow"
191manual_let_else = "allow"
192manual_string_new = "allow"
193many_single_char_names = "allow"
194match_bool = "allow"
195match_same_arms = "allow"
196match_wild_err_arm = "allow"
197match_wildcard_for_single_variants = "allow"
198missing_errors_doc = "allow"
199missing_panics_doc = "allow"
200module_name_repetitions = "allow"
201must_use_candidate = "allow"
202mut_mut = "allow"
203naive_bytecount = "allow"
204needless_continue = "allow"
205needless_for_each = "allow"
206needless_pass_by_value = "allow"
207needless_raw_string_hashes = "allow"
208no_effect_underscore_binding = "allow"
209option_option = "allow"
210range_plus_one = "allow"
211redundant_else = "allow"
212result_large_err = "allow"
213return_self_not_must_use = "allow"
214should_panic_without_expect = "allow"
215similar_names = "allow"
216single_match_else = "allow"
217stable_sort_primitive = "allow"
218struct_excessive_bools = "allow"
219struct_field_names = "allow"
220too_long_first_doc_paragraph = "allow"
221too_many_lines = "allow"
222transmute_ptr_to_ptr = "allow"
223trivially_copy_pass_by_ref = "allow"
224unnecessary_join = "allow"
225unnecessary_wraps = "allow"
226unreadable_literal = "allow"
227unused_self = "allow"
228used_underscore_binding = "allow"
229wildcard_imports = "allow"
230
231[lints.clippy.pedantic]
232level = "warn"
233priority = -1
234
235[lints.rust]