-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
92 lines (83 loc) · 2.69 KB
/
Copy pathCargo.toml
File metadata and controls
92 lines (83 loc) · 2.69 KB
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
[workspace]
resolver = "2"
members = [
"mtp",
"mtp_spec",
"mtpfs",
]
[workspace.package]
authors = ["Serial <69764315+Serial-ATA@users.noreply.github.com>"]
edition = "2024"
license = "MIT OR Apache-2.0"
repository = "https://github.com/Serial-ATA/mtp-rs"
readme = "README.md"
keywords = ["mtp", "usb"]
[workspace.dependencies]
mtp = { path = "mtp" }
mtp_spec = { path = "mtp_spec", version = "0.1.0" }
deku = { version = "0.20.3", default-features = false }
tracing = { version = "0.1.44", default-features = false }
futures = "0.3"
futures-core = { version = "0.3", default-features = false }
test-log = "0.2.17"
paste = "1.0.15"
libc = "0.2"
log = "0.4.30"
tokio = "1.44.2"
tokio-stream = "0.1.17"
# mtp
nusb = "0.2.0"
bitflags = "2.9.0"
tempfile = "3.19.1"
# mtpfs
indicatif = "0.18.0"
dialoguer = "0.12.0"
fuser = "0.17.0"
tracing-subscriber = "0.3.23"
# Examples
clap = "4.5.54"
[workspace.lints.rust]
missing_docs = "deny"
rust_2018_idioms = { level = "deny", priority = -1 }
trivial_casts = "deny"
trivial_numeric_casts = "deny"
unused_import_braces = "deny"
explicit_outlives_requirements = "deny"
unknown_lints = "allow"
[workspace.lints.clippy]
dbg_macro = "deny"
pedantic = { level = "deny", priority = -1 }
all = { level = "deny", priority = -1 }
too_many_lines = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
cast_possible_wrap = "allow"
cast_possible_truncation = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
doc_markdown = "allow"
match_wildcard_for_single_variants = "allow"
semicolon_if_nothing_returned = "allow"
from_over_into = "allow"
upper_case_acronyms = "allow"
single_match_else = "allow"
similar_names = "allow"
tabs_in_doc_comments = "allow"
len_without_is_empty = "allow"
needless_late_init = "allow"
type_complexity = "allow"
return_self_not_must_use = "allow"
bool_to_int_with_if = "allow"
uninlined_format_args = "allow" # This should be changed for any normal "{}", but I'm not a fan of it for any debug or width specific formatting
let_underscore_untyped = "allow"
field_reassign_with_default = "allow"
manual_range_patterns = "allow" # This is not at all clearer as it suggests
no_effect_underscore_binding = "allow"
used_underscore_binding = "allow"
ignored_unit_patterns = "allow" # Not a fan of this lint, doesn't make anything clearer as it claims
needless_return = "allow" # Explicit returns are needed from time to time for clarity
redundant_guards = "allow" # Currently broken for some cases, might enable later
into_iter_without_iter = "allow" # This is only going to fire on some internal types, doesn't matter much
struct_excessive_bools = "allow" # I have yet to find one case of this being useful
[workspace.lints.rustdoc]
broken_intra_doc_links = "deny"