-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
192 lines (173 loc) · 5.43 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
[workspace.package]
edition = "2021"
authors = ["saying121 <saying121@outlook.com>"]
homepage = "https://github.com/saying121/tidy-browser"
rust-version = "1.82"
license = "LGPL-3.0-or-later"
repository = "https://github.com/saying121/tidy-browser"
keywords = ["cookies", "decrypt", "Chromium", "Firefox", "Safari"]
categories = ["asynchronous", "authentication", "cryptography", "encoding"]
[workspace]
members = ["crates/*"]
resolver = "2"
exclude = [".github", "sample/"]
[profile.release]
opt-level = 3
lto = true
strip = true
codegen-units = 1
panic = "abort"
[workspace.dependencies]
tokio = { version = "^1", features = ["macros"] }
# futures = { version = "^0.3", default-features = false }
reqwest = { version = "^0.12", default-features = false }
sea-orm = { version = "^1", default-features = false, features = ["sqlx-sqlite", "runtime-tokio-rustls", "macros"] }
dirs = { version = "^5" }
const_format = { version = "0.2" }
tracing = { version = "^0.1" }
tracing-subscriber = { version = "^0.3", default-features = true, features = ["env-filter"] }
anyhow = "^1"
miette = { version = "^7", default-features = true }
thiserror = { version = "^2" }
serde = { version = "^1", default-features = false, features = ["derive"] }
serde_json = { version = "^1", default-features = false }
secret-service = { version = "^4" }
bytes = { version = "^1" }
keyring = { version = "^3", default-features = false }
aes = { version = "^0.8" }
cbc = { version = "^0.1" }
pbkdf2 = { version = "^0.12" }
sha1 = { version = "^0.10" }
aes-gcm = { version = "^0.10" }
base64 = { version = "^0.22" }
windows = { version = "^0.58" }
rayon = { version = "^1" }
chrono = { version = "^0.4" }
rust-ini = { version = "^0.21" }
clap = { version = "^4" }
decrypt-cookies = { path = "./crates/decrypt-cookies", version = "0.7.0-alpha.0" }
[workspace.lints.rust]
temporary_cstring_as_ptr = "deny"
[workspace.lints.clippy]
perf = { level = "deny", priority = -1 }
### nursery group
nursery = { level = "warn", priority = -1 }
trivial_regex = "allow" # see: <https://github.com/rust-lang/rust-clippy/issues/6690>
### pedantic group
inconsistent_struct_constructor = "warn"
match_on_vec_items = "warn"
match_same_arms = "warn"
single_char_pattern = "warn"
missing_fields_in_debug = "warn"
assigning_clones = "warn"
rc_mutex = "warn"
needless_bitwise_bool = "warn"
needless_continue = "warn"
needless_pass_by_value = "warn"
range_minus_one = "warn"
range_plus_one = "warn"
semicolon_if_nothing_returned = "warn"
verbose_bit_mask = "warn"
unneeded_field_pattern = "warn"
unnested_or_patterns = "warn"
unchecked_duration_subtraction = "warn"
same_functions_in_if_condition = "warn"
same_name_method = "warn"
zero_sized_map_values = "warn"
map_unwrap_or = "warn"
option_as_ref_cloned = "warn"
flat_map_option = "warn"
unnecessary_join = "warn"
unnecessary_safety_comment = "warn"
unnecessary_self_imports = "warn"
unnecessary_wraps = "warn"
cloned_instead_of_copied = "warn"
stable_sort_primitive = "warn"
unused_async = "warn"
unused_self = "warn"
large_futures = "warn"
large_stack_arrays = "warn"
large_digit_groups = "warn"
default_trait_access = "warn"
trivially_copy_pass_by_ref = "warn"
doc_link_with_quotes = "warn"
doc_markdown = "warn"
naive_bytecount = "warn"
expl_impl_clone_on_copy = "warn"
mismatching_type_param_order = "warn"
many_single_char_names = "warn"
no_mangle_with_rust_abi = "warn"
index_refutable_slice = "warn"
macro_use_imports = "warn"
implicit_clone = "warn"
should_panic_without_expect = "warn"
ptr_cast_constness = "warn"
ptr_as_ptr = "warn"
cast_ptr_alignment = "warn"
borrow_as_ptr = "warn"
cast_sign_loss = "warn"
str_split_at_newline = "warn"
string_add_assign = "warn"
manual_string_new = "warn"
inefficient_to_string = "warn"
enum_glob_use = "warn"
explicit_deref_methods = "warn"
redundant_closure_for_method_calls = "warn"
redundant_else = "warn"
manual_c_str_literals = "warn"
explicit_iter_loop = "warn"
explicit_into_iter_loop = "warn"
maybe_infinite_iter = "warn"
from_iter_instead_of_collect = "warn"
iter_not_returning_iterator = "warn"
iter_filter_is_ok = "warn"
iter_filter_is_some = "warn"
iter_without_into_iter = "warn"
into_iter_without_iter = "warn"
filter_map_next = "warn"
manual_is_variant_and = "warn"
manual_assert = "warn"
manual_instant_elapsed = "warn"
manual_let_else = "warn"
manual_ok_or = "warn"
if_not_else = "warn"
bool_to_int_with_if = "warn"
### restriction group
unwrap_used = "warn"
# unwrap_in_result = "warn"
semicolon_outside_block = "warn"
verbose_file_reads = "warn"
try_err = "warn"
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
as_underscore = "warn"
clone_on_ref_ptr = "warn"
create_dir = "warn"
default_union_representation = "warn"
deref_by_slicing = "warn"
disallowed_script_idents = "warn"
empty_drop = "warn"
empty_enum_variants_with_brackets = "warn"
empty_structs_with_brackets = "warn"
rest_pat_in_fully_bound_structs = "warn"
error_impl_error = "warn"
filetype_is_file = "warn"
fn_to_numeric_cast_any = "warn"
if_then_some_else_none = "warn"
impl_trait_in_params = "warn"
lossy_float_literal = "warn"
missing_asserts_for_indexing = "warn"
mixed_read_write_in_expression = "warn"
modulo_arithmetic = "warn"
multiple_unsafe_ops_per_block = "warn"
unnecessary_safety_doc = "warn"
ref_option_ref = "warn"
pub_without_shorthand = "warn"
panic_in_result_fn = "warn"
format_push_string = "warn"
str_to_string = "warn"
string_to_string = "warn"
### cargo group
cargo = { level = "warn", priority = -1 }
multiple_crate_versions = "allow"
exhaustive_structs = "warn"