From 217585daa80f4f709f6f4cf862d7ca16dbd821ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=96R=C3=96K=20Attila?= Date: Thu, 4 Jan 2024 22:30:32 +0100 Subject: [PATCH] chore: Delegate `[lints]` in `Cargo.toml` of all packages to the workspace --- core/Cargo.toml | 3 +++ core/build_playerglobal/Cargo.toml | 3 +++ core/macros/Cargo.toml | 3 +++ desktop/Cargo.toml | 3 +++ exporter/Cargo.toml | 3 +++ render/Cargo.toml | 3 +++ render/canvas/Cargo.toml | 3 +++ render/naga-agal/Cargo.toml | 3 +++ render/naga-pixelbender/Cargo.toml | 3 +++ render/webgl/Cargo.toml | 3 +++ render/wgpu/Cargo.toml | 3 +++ ruffle_gc_arena/Cargo.toml | 3 +++ scanner/Cargo.toml | 3 +++ swf/Cargo.toml | 3 +++ tests/Cargo.toml | 3 +++ tests/framework/Cargo.toml | 3 +++ tests/input-format/Cargo.toml | 3 +++ tests/mocket/Cargo.toml | 3 +++ tests/socket-format/Cargo.toml | 3 +++ video/Cargo.toml | 3 +++ video/software/Cargo.toml | 3 +++ web/Cargo.toml | 3 +++ web/common/Cargo.toml | 3 +++ web/packages/extension/safari/Cargo.toml | 3 +++ wstr/Cargo.toml | 3 +++ 25 files changed, 75 insertions(+) diff --git a/core/Cargo.toml b/core/Cargo.toml index f520fc967..39e9d3935 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -7,6 +7,9 @@ license.workspace = true repository.workspace = true version.workspace = true +[lints] +workspace = true + [dependencies] linkme = { version = "0.3", optional = true } byteorder = "1.5" diff --git a/core/build_playerglobal/Cargo.toml b/core/build_playerglobal/Cargo.toml index f263b4c95..c6d361907 100644 --- a/core/build_playerglobal/Cargo.toml +++ b/core/build_playerglobal/Cargo.toml @@ -7,6 +7,9 @@ license.workspace = true repository.workspace = true version.workspace = true +[lints] +workspace = true + [dependencies] convert_case = "0.6.0" proc-macro2 = "1.0.73" diff --git a/core/macros/Cargo.toml b/core/macros/Cargo.toml index 5d4638cb0..6134d8ede 100644 --- a/core/macros/Cargo.toml +++ b/core/macros/Cargo.toml @@ -7,6 +7,9 @@ license.workspace = true repository.workspace = true version.workspace = true +[lints] +workspace = true + [lib] proc-macro = true diff --git a/desktop/Cargo.toml b/desktop/Cargo.toml index 8f69839d0..4fa56e52d 100644 --- a/desktop/Cargo.toml +++ b/desktop/Cargo.toml @@ -7,6 +7,9 @@ license.workspace = true repository.workspace = true version.workspace = true +[lints] +workspace = true + [dependencies] clap = { version = "4.4.12", features = ["derive"] } cpal = "0.15.2" diff --git a/exporter/Cargo.toml b/exporter/Cargo.toml index 60cf9b9c7..e027b8038 100644 --- a/exporter/Cargo.toml +++ b/exporter/Cargo.toml @@ -7,6 +7,9 @@ license.workspace = true repository.workspace = true version.workspace = true +[lints] +workspace = true + [dependencies] clap = { version = "4.4.12", features = ["derive"] } futures = "0.3" diff --git a/render/Cargo.toml b/render/Cargo.toml index 8bdeb6554..dff87c297 100644 --- a/render/Cargo.toml +++ b/render/Cargo.toml @@ -7,6 +7,9 @@ license.workspace = true repository.workspace = true version.workspace = true +[lints] +workspace = true + [dependencies] ruffle_wstr = { path = "../wstr" } swf = { path = "../swf"} diff --git a/render/canvas/Cargo.toml b/render/canvas/Cargo.toml index 3a18983a7..d4a1bf07c 100644 --- a/render/canvas/Cargo.toml +++ b/render/canvas/Cargo.toml @@ -7,6 +7,9 @@ license.workspace = true repository.workspace = true version.workspace = true +[lints] +workspace = true + [dependencies] js-sys = "0.3.66" log = "0.4" diff --git a/render/naga-agal/Cargo.toml b/render/naga-agal/Cargo.toml index 96d932095..779fdfb00 100644 --- a/render/naga-agal/Cargo.toml +++ b/render/naga-agal/Cargo.toml @@ -7,6 +7,9 @@ license.workspace = true repository.workspace = true version.workspace = true +[lints] +workspace = true + [dependencies] bitflags = "2.4.1" naga = { workspace = true } diff --git a/render/naga-pixelbender/Cargo.toml b/render/naga-pixelbender/Cargo.toml index 37c843d67..0d380e203 100644 --- a/render/naga-pixelbender/Cargo.toml +++ b/render/naga-pixelbender/Cargo.toml @@ -7,6 +7,9 @@ license.workspace = true repository.workspace = true version.workspace = true +[lints] +workspace = true + [dependencies] ruffle_render = { path = "../" } naga = { workspace = true } diff --git a/render/webgl/Cargo.toml b/render/webgl/Cargo.toml index 6c8c2d331..28717e76a 100644 --- a/render/webgl/Cargo.toml +++ b/render/webgl/Cargo.toml @@ -7,6 +7,9 @@ license.workspace = true repository.workspace = true version.workspace = true +[lints] +workspace = true + [dependencies] js-sys = "0.3.66" log = "0.4" diff --git a/render/wgpu/Cargo.toml b/render/wgpu/Cargo.toml index f9dd98be5..82e23a66a 100644 --- a/render/wgpu/Cargo.toml +++ b/render/wgpu/Cargo.toml @@ -7,6 +7,9 @@ license.workspace = true repository.workspace = true version.workspace = true +[lints] +workspace = true + [dependencies] wgpu = { workspace = true, features = ["naga"] } tracing = { workspace = true } diff --git a/ruffle_gc_arena/Cargo.toml b/ruffle_gc_arena/Cargo.toml index 3a8719af1..8b8dae5fe 100644 --- a/ruffle_gc_arena/Cargo.toml +++ b/ruffle_gc_arena/Cargo.toml @@ -8,5 +8,8 @@ homepage.workspace = true license.workspace = true repository.workspace = true +[lints] +workspace = true + [dependencies] gc-arena = { git = "https://github.com/kyren/gc-arena", rev = "efd89fc683c6bb456af3e226c33763cb822645e9", features = ["hashbrown"] } diff --git a/scanner/Cargo.toml b/scanner/Cargo.toml index 59c31c64b..fde87d9e8 100644 --- a/scanner/Cargo.toml +++ b/scanner/Cargo.toml @@ -7,6 +7,9 @@ license.workspace = true repository.workspace = true version.workspace = true +[lints] +workspace = true + [dependencies] clap = { version = "4.4.12", features = ["derive"] } ruffle_core = { path = "../core", features = ["deterministic"] } diff --git a/swf/Cargo.toml b/swf/Cargo.toml index b67e5bd4b..6d85d4081 100644 --- a/swf/Cargo.toml +++ b/swf/Cargo.toml @@ -8,6 +8,9 @@ homepage.workspace = true license.workspace = true repository.workspace = true +[lints] +workspace = true + [dependencies] bitflags = "2.4.1" bitstream-io = "2.2.0" diff --git a/tests/Cargo.toml b/tests/Cargo.toml index e1d90e343..028e01e54 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -7,6 +7,9 @@ license.workspace = true repository.workspace = true version.workspace = true +[lints] +workspace = true + [features] # Enable running image comparison tests. This is off by default, # since the images we compare against are generated on CI, and may diff --git a/tests/framework/Cargo.toml b/tests/framework/Cargo.toml index 4821a3e7a..c7e416399 100644 --- a/tests/framework/Cargo.toml +++ b/tests/framework/Cargo.toml @@ -7,6 +7,9 @@ license.workspace = true repository.workspace = true version.workspace = true +[lints] +workspace = true + [dependencies] futures = "0.3.30" ruffle_core = { path = "../../core", features = ["deterministic", "timeline_debug", "avm_debug", "audio", "mp3", "default_font"] } diff --git a/tests/input-format/Cargo.toml b/tests/input-format/Cargo.toml index ca50bf0d2..a86a13f51 100644 --- a/tests/input-format/Cargo.toml +++ b/tests/input-format/Cargo.toml @@ -7,6 +7,9 @@ license.workspace = true repository.workspace = true version.workspace = true +[lints] +workspace = true + [dependencies] serde = { version = "1.0.193", features = ["derive"] } serde_json = "1.0.109" diff --git a/tests/mocket/Cargo.toml b/tests/mocket/Cargo.toml index ee308ba6c..9c29f980b 100644 --- a/tests/mocket/Cargo.toml +++ b/tests/mocket/Cargo.toml @@ -7,6 +7,9 @@ license.workspace = true repository.workspace = true version.workspace = true +[lints] +workspace = true + [dependencies] anyhow = "1.0.78" clap = { version = "4.4.12", features = ["derive"] } diff --git a/tests/socket-format/Cargo.toml b/tests/socket-format/Cargo.toml index 4484d7682..8a7465096 100644 --- a/tests/socket-format/Cargo.toml +++ b/tests/socket-format/Cargo.toml @@ -7,6 +7,9 @@ license.workspace = true repository.workspace = true version.workspace = true +[lints] +workspace = true + [dependencies] serde = { version = "1.0.193", features = ["derive"] } serde_json = "1.0.109" diff --git a/video/Cargo.toml b/video/Cargo.toml index aaccbc9ec..ba0e0ab23 100644 --- a/video/Cargo.toml +++ b/video/Cargo.toml @@ -7,6 +7,9 @@ license.workspace = true repository.workspace = true version.workspace = true +[lints] +workspace = true + [dependencies] swf = { path = "../swf" } ruffle_render = { path = "../render" } diff --git a/video/software/Cargo.toml b/video/software/Cargo.toml index 023878d42..f698b9985 100644 --- a/video/software/Cargo.toml +++ b/video/software/Cargo.toml @@ -7,6 +7,9 @@ license.workspace = true repository.workspace = true version.workspace = true +[lints] +workspace = true + [dependencies] ruffle_render = { path = "../../render" } ruffle_video = { path = ".." } diff --git a/web/Cargo.toml b/web/Cargo.toml index 558d3c84f..cb09a69de 100644 --- a/web/Cargo.toml +++ b/web/Cargo.toml @@ -9,6 +9,9 @@ repository.workspace = true version.workspace = true publish = false # This crate is useless alone, people should use the npm package +[lints] +workspace = true + [lib] crate-type = ["cdylib", "rlib"] diff --git a/web/common/Cargo.toml b/web/common/Cargo.toml index 0d24192d4..49a188ce4 100644 --- a/web/common/Cargo.toml +++ b/web/common/Cargo.toml @@ -5,6 +5,9 @@ authors = ["Ruffle LLC "] edition.workspace = true license = "MIT OR Apache-2.0" +[lints] +workspace = true + [dependencies] js-sys = "0.3.66" tracing = { workspace = true } diff --git a/web/packages/extension/safari/Cargo.toml b/web/packages/extension/safari/Cargo.toml index a4b5bddc0..c988d7764 100644 --- a/web/packages/extension/safari/Cargo.toml +++ b/web/packages/extension/safari/Cargo.toml @@ -9,5 +9,8 @@ repository.workspace = true version.workspace = true publish = false # This crate is useless unless packaged into an appex bundle +[lints] +workspace = true + [dependencies] objc = "0.2.7" diff --git a/wstr/Cargo.toml b/wstr/Cargo.toml index fb57274b8..0b166ea71 100644 --- a/wstr/Cargo.toml +++ b/wstr/Cargo.toml @@ -6,3 +6,6 @@ homepage.workspace = true license.workspace = true repository.workspace = true version.workspace = true + +[lints] +workspace = true