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]
|
||||
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"
|
||||
description = "TWINC Game Boy (CGB/DMG) emulator CLI"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[package.metadata.bundle]
|
||||
identifier = "com.alexjanka.TWINC.cli"
|
||||
|
||||
|
|
|
@ -4,6 +4,9 @@ version = "0.5.1"
|
|||
edition = "2021"
|
||||
description = "Frontend common library for TWINC Game Boy (CGB/DMG) emulator"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[features]
|
||||
default = []
|
||||
pixels = ["gb-emu-lib/pixels-renderer"]
|
||||
|
|
|
@ -3,6 +3,9 @@ name = "twinc_emu_vst"
|
|||
version = "0.5.1"
|
||||
edition = "2021"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[lib]
|
||||
crate-type = ["cdylib", "rlib"]
|
||||
|
||||
|
|
|
@ -4,6 +4,9 @@ version = "0.1.0"
|
|||
edition = "2021"
|
||||
description = "TWINC Game Boy (CGB/DMG) emulator GUI"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[package.metadata.bundle]
|
||||
identifier = "com.alexjanka.TWINC.gui"
|
||||
osx_file_extensions = [[["Game Boy ROM", "Viewer"], ["gb", "gbc"]]]
|
||||
|
|
|
@ -3,6 +3,9 @@ name = "gb-emu-lib"
|
|||
version = "0.5.1"
|
||||
edition = "2021"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[features]
|
||||
default = ["config"]
|
||||
clocked-serial = []
|
||||
|
|
|
@ -3,6 +3,9 @@ name = "xtask"
|
|||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
|
|
Loading…
Reference in a new issue