-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
212 lines (205 loc) · 5.3 KB
/
Cargo.toml
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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
[build-dependencies]
anyhow = { default-features = false, features = [
"backtrace",
"std",
], version = "=1.0.94" }
bindgen = { default-features = false, version = "=0.71.1" }
tracing = { default-features = false, version = "=0.1.41" }
tracing-subscriber = { default-features = false, features = [
"ansi",
"fmt",
"std",
"tracing-log",
], version = "=0.3.19" }
[dependencies]
anyhow = { default-features = false, features = [
"backtrace",
"std",
], version = "=1.0.94" }
clap = { default-features = false, features = [
"color",
"derive",
"help",
"std",
"suggestions",
"usage",
], version = "=4.5.23" }
dlmalloc = { default-features = false, features = [
"global",
], optional = true, version = "=0.2.7" }
flate2 = { default-features = false, features = [
"rust_backend",
], version = "=1.0.35" }
hex = { default-features = false, features = [
"std",
], version = "=0.4.3" }
lzma-rs = { default-features = false, version = "=0.3.0" }
nameof = { default-features = false, version = "=1.2.2" }
sevenz-rust = { default-features = false, features = [
"aes256",
"compress",
], version = "=0.6.1" }
tar = { default-features = false, version = "=0.4.43" }
tracing = { default-features = false, version = "=0.1.41" }
tracing-subscriber = { default-features = false, features = [
"ansi",
"env-filter",
"fmt",
"std",
"tracing-log",
], version = "=0.3.19" }
zip = { default-features = false, features = [
"aes-crypto",
"deflate",
"deflate64",
"lzma",
], version = "=2.2.1" }
[features]
default = [
"dlmalloc",
"foreign",
]
dlmalloc = [
"dep:dlmalloc",
]
foreign = [
]
[lints.clippy]
absolute_paths = "warn"
all = { level = "deny", priority = -1 }
alloc_instead_of_core = "warn"
allow_attributes = "allow"
allow_attributes_without_reason = "warn"
arithmetic_side_effects = "warn"
as_conversions = "warn"
as_underscore = "warn"
assertions_on_result_states = "warn"
collapsible_else_if = "allow"
create_dir = "warn"
dbg_macro = "warn"
decimal_literal_representation = "allow"
default_numeric_fallback = "warn"
default_union_representation = "warn"
deref_by_slicing = "deny"
disallowed_script_idents = "warn"
else_if_without_else = "allow"
empty_drop = "warn"
empty_enum_variants_with_brackets = "warn"
enum_variant_names = "allow"
error_impl_error = "warn"
exhaustive_enums = "warn"
exit = "deny"
expect_used = "deny"
explicit_deref_methods = "warn"
filetype_is_file = "warn"
float_cmp_const = "warn"
fn_to_numeric_cast_any = "warn"
format_push_string = "warn"
get_first = "allow"
get_unwrap = "warn"
host_endian_bytes = "warn"
if_then_some_else_none = "warn"
indexing_slicing = "deny"
infinite_loop = "deny"
inline_asm_x86_att_syntax = "warn"
inline_asm_x86_intel_syntax = "warn"
integer_division = "warn"
items_after_statements = "deny"
iter_over_hash_type = "warn"
large_futures = "deny"
large_include_file = "warn"
let_and_return = "warn"
let_underscore_must_use = "warn"
let_underscore_untyped = "warn"
little_endian_bytes = "warn"
lossy_float_literal = "warn"
map_err_ignore = "warn"
match_ref_pats = "allow"
mem_forget = "warn"
missing_assert_message = "warn"
missing_asserts_for_indexing = "deny"
missing_errors_doc = "allow"
mixed_read_write_in_expression = "warn"
mod_module_files = "warn"
module_name_repetitions = "allow"
modulo_arithmetic = "warn"
multiple_inherent_impl = "warn"
multiple_unsafe_ops_per_block = "warn"
must_use_candidate = "allow"
mutex_atomic = "warn"
needless_borrowed_reference = "allow"
needless_lifetimes = "deny"
needless_raw_string_hashes = "deny"
needless_raw_strings = "warn"
no_effect_underscore_binding = "deny"
non_ascii_literal = "warn"
panic = "deny"
panic_in_result_fn = "deny"
partial_pub_fields = "warn"
pattern_type_mismatch = "warn"
pedantic = { level = "warn", priority = -1 }
perf = { level = "warn", priority = -1 }
pub_use = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
redundant_type_annotations = "deny"
ref_patterns = "allow"
rest_pat_in_fully_bound_structs = "warn"
same_name_method = "warn"
semicolon_inside_block = "warn"
shadow_reuse = "warn"
shadow_same = "warn"
shadow_unrelated = "warn"
single_match_else = "allow"
str_to_string = "deny"
string_add = "warn"
string_lit_chars_any = "warn"
string_slice = "deny"
string_to_string = "warn"
struct_excessive_bools = "allow"
struct_field_names = "allow"
style = { level = "warn", priority = -1 }
suspicious = { level = "warn", priority = -1 }
suspicious_xor_used_as_pow = "warn"
tests_outside_test_module = "warn"
todo = "deny"
too_many_lines = "allow"
try_err = "warn"
undocumented_unsafe_blocks = "warn"
unimplemented = "warn"
unnecessary_box_returns = "deny"
unnecessary_safety_comment = "warn"
unnecessary_safety_doc = "warn"
unnecessary_self_imports = "deny"
unnecessary_wraps = "deny"
unneeded_field_pattern = "warn"
unnested_or_patterns = "deny"
unreachable = "warn"
unreadable_literal = "deny"
unseparated_literal_suffix = "warn"
unwrap_in_result = "warn"
unwrap_used = "warn"
use_debug = "warn"
verbose_file_reads = "warn"
wildcard_enum_match_arm = "warn"
[lints.rust]
dropping_references = "deny"
unused_imports = "deny"
unused_must_use = "deny"
unused_variables = "deny"
[package]
authors = [
"Andrew Liebenow <andrewliebenow@gmail.com>",
]
edition = "2021"
license = "MIT"
name = "tarx"
rust-version = "1.82.0"
version = "0.1.0"
[profile.dev]
# Save disk space
debug = "line-tables-only"
[profile.release]
codegen-units = 1
lto = "fat"
strip = "debuginfo"