enable workspace lints
This commit is contained in:
parent
49464a58a5
commit
31d269852c
19
Cargo.toml
19
Cargo.toml
|
@ -29,3 +29,22 @@ baseview = { git = "https://git.alexjanka.com/alex/baseview" }
|
||||||
|
|
||||||
[patch.crates-io]
|
[patch.crates-io]
|
||||||
anymap = { git = "https://git.alexjanka.com/alex/anymap" }
|
anymap = { git = "https://git.alexjanka.com/alex/anymap" }
|
||||||
|
|
||||||
|
[workspace.lints.clippy]
|
||||||
|
pedantic = "warn"
|
||||||
|
cast_precision_loss = { level = "allow", priority = 1 }
|
||||||
|
doc_markdown = { level = "allow", priority = 1 }
|
||||||
|
if_not_else = { level = "allow", priority = 1 }
|
||||||
|
items_after_statements = { level = "allow", priority = 1 }
|
||||||
|
match_wildcard_for_single_variants = { level = "allow", priority = 1 }
|
||||||
|
missing_errors_doc = { level = "allow", priority = 1 }
|
||||||
|
missing_panics_doc = { level = "allow", priority = 1 }
|
||||||
|
module_inception = { level = "allow", priority = 1 }
|
||||||
|
needless_pass_by_value = { level = "allow", priority = 1 }
|
||||||
|
similar_names = { level = "allow", priority = 1 }
|
||||||
|
too_many_lines = { level = "allow", priority = 1 }
|
||||||
|
type_complexity = { level = "allow", priority = 1 }
|
||||||
|
unreadable_literal = { level = "allow", priority = 1 }
|
||||||
|
unused_self = { level = "allow", priority = 1 }
|
||||||
|
cast_possible_truncation = { level = "allow", priority = 1 }
|
||||||
|
default_trait_access = { level = "allow", priority = 1 }
|
||||||
|
|
|
@ -4,6 +4,9 @@ version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "TWINC Game Boy (CGB/DMG) emulator CLI"
|
description = "TWINC Game Boy (CGB/DMG) emulator CLI"
|
||||||
|
|
||||||
|
[lints]
|
||||||
|
workspace = true
|
||||||
|
|
||||||
[package.metadata.bundle]
|
[package.metadata.bundle]
|
||||||
identifier = "com.alexjanka.TWINC.cli"
|
identifier = "com.alexjanka.TWINC.cli"
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,9 @@ version = "0.5.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "Frontend common library for TWINC Game Boy (CGB/DMG) emulator"
|
description = "Frontend common library for TWINC Game Boy (CGB/DMG) emulator"
|
||||||
|
|
||||||
|
[lints]
|
||||||
|
workspace = true
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
pixels = ["gb-emu-lib/pixels-renderer"]
|
pixels = ["gb-emu-lib/pixels-renderer"]
|
||||||
|
|
|
@ -3,6 +3,9 @@ name = "twinc_emu_vst"
|
||||||
version = "0.5.1"
|
version = "0.5.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
|
[lints]
|
||||||
|
workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
crate-type = ["cdylib", "rlib"]
|
crate-type = ["cdylib", "rlib"]
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,9 @@ version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "TWINC Game Boy (CGB/DMG) emulator GUI"
|
description = "TWINC Game Boy (CGB/DMG) emulator GUI"
|
||||||
|
|
||||||
|
[lints]
|
||||||
|
workspace = true
|
||||||
|
|
||||||
[package.metadata.bundle]
|
[package.metadata.bundle]
|
||||||
identifier = "com.alexjanka.TWINC.gui"
|
identifier = "com.alexjanka.TWINC.gui"
|
||||||
osx_file_extensions = [[["Game Boy ROM", "Viewer"], ["gb", "gbc"]]]
|
osx_file_extensions = [[["Game Boy ROM", "Viewer"], ["gb", "gbc"]]]
|
||||||
|
|
|
@ -3,6 +3,9 @@ name = "gb-emu-lib"
|
||||||
version = "0.5.1"
|
version = "0.5.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
|
[lints]
|
||||||
|
workspace = true
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["config"]
|
default = ["config"]
|
||||||
clocked-serial = []
|
clocked-serial = []
|
||||||
|
|
|
@ -3,6 +3,9 @@ name = "xtask"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
|
[lints]
|
||||||
|
workspace = true
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
Loading…
Reference in a new issue