mirror of
https://github.com/NotAShelf/mpvrc.git
synced 2026-04-15 15:33:47 +00:00
meta: enable more clippy lint groups
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I9c57a2ee8a266c16c57804a43edbd8176a6a6964
This commit is contained in:
parent
cded6ee1c9
commit
8c48acf693
2 changed files with 31 additions and 4 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
|
@ -487,7 +487,7 @@ dependencies = [
|
|||
]
|
||||
|
||||
[[package]]
|
||||
name = "mrc"
|
||||
name = "mpvrc"
|
||||
version = "0.2.0"
|
||||
dependencies = [
|
||||
"anstyle",
|
||||
|
|
|
|||
33
Cargo.toml
33
Cargo.toml
|
|
@ -1,10 +1,10 @@
|
|||
[package]
|
||||
name = "mrc"
|
||||
name = "mpvrc"
|
||||
description = "MPV Remote Control - CLI and server for controlling MPV via IPC"
|
||||
version = "0.2.0"
|
||||
edition = "2024"
|
||||
default-run = "cli"
|
||||
repository = "https://github.com/notashelf/mrc"
|
||||
repository = "https://github.com/notashelf/mpvrc"
|
||||
license = "MPL-2.0"
|
||||
rust-version = "1.92.0"
|
||||
readme = true
|
||||
|
|
@ -50,9 +50,36 @@ codegen-units = 1
|
|||
panic = "abort"
|
||||
|
||||
[workspace.lints.clippy]
|
||||
cargo = { level = "warn", priority = -1 }
|
||||
complexity = { level = "warn", priority = -1 }
|
||||
nursery = { level = "warn", priority = -1 }
|
||||
pedantic = { level = "warn", priority = -1 }
|
||||
perf = { level = "warn", priority = -1 }
|
||||
style = { level = "warn", priority = -1 }
|
||||
|
||||
# The lint groups above enable some less-than-desirable rules, we should manually
|
||||
# enable those to keep our sanity.
|
||||
absolute_paths = "allow"
|
||||
empty_drop = "warn"
|
||||
empty_structs_with_brackets = "warn"
|
||||
exit = "warn"
|
||||
filetype_is_file = "warn"
|
||||
get_unwrap = "warn"
|
||||
infinite_loop = "warn"
|
||||
map_with_unused_argument_over_ranges = "warn"
|
||||
multiple_crate_versions = "allow" # :(
|
||||
non_std_lazy_statics = "warn"
|
||||
pathbuf_init_then_push = "warn"
|
||||
pattern_type_mismatch = "allow"
|
||||
rc_buffer = "warn"
|
||||
rc_mutex = "warn"
|
||||
rest_pat_in_fully_bound_structs = "warn"
|
||||
similar_names = "allow"
|
||||
too_long_first_doc_paragraph = "allow"
|
||||
undocumented_unsafe_blocks = "warn"
|
||||
unused_result_ok = "warn"
|
||||
unused_trait_names = "allow"
|
||||
blanket_clippy_restriction_lints = "allow"
|
||||
restriction = { level = "warn", priority = -1 }
|
||||
alloc_instead_of_core = "allow"
|
||||
allow_attributes_without_reason = "allow"
|
||||
arbitrary_source_item_ordering = "allow"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue