From 38cbaecf0fe7860797465f8a7614cc7d83536d3a Mon Sep 17 00:00:00 2001 From: Alexander Koz Date: Thu, 30 May 2024 11:29:19 +0400 Subject: [PATCH 1/3] bump crates --- Cargo.lock | 10 +++++----- api/ctrl/Cargo.toml | 2 +- api/menu/Cargo.toml | 2 +- api/playdate/Cargo.toml | 2 +- api/sprite/Cargo.toml | 2 +- components/crank-indicator/Cargo.toml | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4479f5b3..d1b1609a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4068,7 +4068,7 @@ checksum = "b4596b6d070b27117e987119b4dac604f3c58cfb0b191112e24771b2faeac1a6" [[package]] name = "playdate" -version = "0.2.0" +version = "0.2.1" dependencies = [ "playdate-controls", "playdate-display", @@ -4145,7 +4145,7 @@ dependencies = [ [[package]] name = "playdate-controls" -version = "0.3.4" +version = "0.3.5" dependencies = [ "playdate-display", "playdate-graphics", @@ -4219,7 +4219,7 @@ dependencies = [ [[package]] name = "playdate-menu" -version = "0.2.3" +version = "0.2.4" dependencies = [ "playdate-graphics", "playdate-sys", @@ -4259,7 +4259,7 @@ dependencies = [ [[package]] name = "playdate-sprite" -version = "0.2.10" +version = "0.2.11" dependencies = [ "playdate-display", "playdate-graphics", @@ -4325,7 +4325,7 @@ dependencies = [ [[package]] name = "playdate-ui-crank-indicator" -version = "0.1.4" +version = "0.1.5" dependencies = [ "playdate-controls", "playdate-display", diff --git a/api/ctrl/Cargo.toml b/api/ctrl/Cargo.toml index fe5e5e8b..16b6cd5c 100644 --- a/api/ctrl/Cargo.toml +++ b/api/ctrl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "playdate-controls" -version = "0.3.4" +version = "0.3.5" readme = "README.md" description = "High-level controls API built on-top of Playdate API" keywords = ["playdate", "sdk", "api", "gamedev"] diff --git a/api/menu/Cargo.toml b/api/menu/Cargo.toml index 1127255c..6e513841 100644 --- a/api/menu/Cargo.toml +++ b/api/menu/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "playdate-menu" -version = "0.2.3" +version = "0.2.4" readme = "README.md" description = "High-level system menu API built on-top of Playdate API" keywords = ["playdate", "sdk", "api", "gamedev"] diff --git a/api/playdate/Cargo.toml b/api/playdate/Cargo.toml index 25ccc8ac..c0697f91 100644 --- a/api/playdate/Cargo.toml +++ b/api/playdate/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "playdate" -version = "0.2.0" +version = "0.2.1" readme = "README.md" description = "High-level Playdate API" keywords = ["playdate", "sdk", "api", "gamedev"] diff --git a/api/sprite/Cargo.toml b/api/sprite/Cargo.toml index 91bf775e..5793aa79 100644 --- a/api/sprite/Cargo.toml +++ b/api/sprite/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "playdate-sprite" -version = "0.2.10" +version = "0.2.11" readme = "README.md" description = "High-level sprite API built on-top of Playdate API" keywords = ["playdate", "sdk", "api", "gamedev"] diff --git a/components/crank-indicator/Cargo.toml b/components/crank-indicator/Cargo.toml index ff3b450e..474fb755 100644 --- a/components/crank-indicator/Cargo.toml +++ b/components/crank-indicator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "playdate-ui-crank-indicator" -version = "0.1.4" +version = "0.1.5" readme = "README.md" description = "Crank Indicator UI component." edition.workspace = true From 6d218605ef41d1ce0271ebfebd60b2cf3797d3e0 Mon Sep 17 00:00:00 2001 From: Alexander Koz Date: Thu, 30 May 2024 12:48:26 +0400 Subject: [PATCH 2/3] bump crates (follow up #368) --- Cargo.lock | 12 ++++++------ api/color/Cargo.toml | 2 +- api/display/Cargo.toml | 2 +- api/fs/Cargo.toml | 2 +- api/lua/Cargo.toml | 2 +- api/scoreboards/Cargo.toml | 2 +- api/system/Cargo.toml | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d1b1609a..26bb0a26 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4138,7 +4138,7 @@ dependencies = [ [[package]] name = "playdate-color" -version = "0.2.3" +version = "0.2.4" dependencies = [ "playdate-sys", ] @@ -4185,14 +4185,14 @@ dependencies = [ [[package]] name = "playdate-display" -version = "0.3.5" +version = "0.3.6" dependencies = [ "playdate-sys", ] [[package]] name = "playdate-fs" -version = "0.2.7" +version = "0.2.8" dependencies = [ "playdate-sys", "playdate-system", @@ -4211,7 +4211,7 @@ dependencies = [ [[package]] name = "playdate-lua" -version = "0.1.0" +version = "0.1.1" dependencies = [ "playdate-sys", "playdate-system", @@ -4228,7 +4228,7 @@ dependencies = [ [[package]] name = "playdate-scoreboards" -version = "0.1.1" +version = "0.1.2" dependencies = [ "erased_set", "playdate-sys", @@ -4297,7 +4297,7 @@ dependencies = [ [[package]] name = "playdate-system" -version = "0.3.11" +version = "0.3.12" dependencies = [ "playdate-sys", ] diff --git a/api/color/Cargo.toml b/api/color/Cargo.toml index b2465687..8c255531 100644 --- a/api/color/Cargo.toml +++ b/api/color/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "playdate-color" -version = "0.2.3" +version = "0.2.4" readme = "README.md" description = "Color extension for Playdate API" keywords = ["playdate", "sdk", "api", "gamedev"] diff --git a/api/display/Cargo.toml b/api/display/Cargo.toml index a8723865..bb2e31cc 100644 --- a/api/display/Cargo.toml +++ b/api/display/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "playdate-display" -version = "0.3.5" +version = "0.3.6" readme = "README.md" description = "High-level Display API built on-top of Playdate API" keywords = ["playdate", "sdk", "api", "gamedev"] diff --git a/api/fs/Cargo.toml b/api/fs/Cargo.toml index 3300aa74..0678b53f 100644 --- a/api/fs/Cargo.toml +++ b/api/fs/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "playdate-fs" -version = "0.2.7" +version = "0.2.8" readme = "README.md" description = "High-level file-system API built on-top of Playdate API" keywords = ["playdate", "sdk", "api", "gamedev"] diff --git a/api/lua/Cargo.toml b/api/lua/Cargo.toml index 706d0214..23630f93 100644 --- a/api/lua/Cargo.toml +++ b/api/lua/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "playdate-lua" -version = "0.1.0" +version = "0.1.1" readme = "README.md" description = "High-level Lua API built on-top of Playdate API" keywords = ["playdate", "sdk", "api", "gamedev"] diff --git a/api/scoreboards/Cargo.toml b/api/scoreboards/Cargo.toml index bf0e2cdb..4040c8af 100644 --- a/api/scoreboards/Cargo.toml +++ b/api/scoreboards/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "playdate-scoreboards" -version = "0.1.1" +version = "0.1.2" readme = "README.md" description = "High-level Scoreboards API built on-top of Playdate API" keywords = ["playdate", "sdk", "api", "gamedev"] diff --git a/api/system/Cargo.toml b/api/system/Cargo.toml index 822bb17a..66d5fe82 100644 --- a/api/system/Cargo.toml +++ b/api/system/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "playdate-system" -version = "0.3.11" +version = "0.3.12" readme = "README.md" description = "High-level System API built on-top of Playdate API" keywords = ["playdate", "sdk", "api", "gamedev"] From 09b88be0fa5d765bf53035fabf5d4091b764b896 Mon Sep 17 00:00:00 2001 From: Alexander Koz Date: Thu, 30 May 2024 13:47:55 +0400 Subject: [PATCH 3/3] Prevent DCT for stored sound sample data --- Cargo.lock | 2 +- api/sound/Cargo.toml | 2 +- api/sound/src/sample.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 26bb0a26..bf42ecf5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4249,7 +4249,7 @@ dependencies = [ [[package]] name = "playdate-sound" -version = "0.4.0" +version = "0.4.1" dependencies = [ "playdate-fs", "playdate-graphics", diff --git a/api/sound/Cargo.toml b/api/sound/Cargo.toml index 3a09539d..ff7f8439 100644 --- a/api/sound/Cargo.toml +++ b/api/sound/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "playdate-sound" -version = "0.4.0" +version = "0.4.1" readme = "README.md" description = "High-level sound API built on-top of Playdate API" keywords = ["playdate", "sdk", "api", "gamedev"] diff --git a/api/sound/src/sample.rs b/api/sound/src/sample.rs index 0bbe2a91..6b2f15f7 100644 --- a/api/sound/src/sample.rs +++ b/api/sound/src/sample.rs @@ -188,7 +188,7 @@ impl Sample { /// Sample over borrowed audio data. #[cfg_attr(feature = "bindings-derive-debug", derive(Debug))] -pub struct SampleWithData<'t, Api: api::Api>(Sample, &'t mut [u8]); +pub struct SampleWithData<'t, Api: api::Api>(Sample, #[allow(dead_code)] &'t mut [u8]); impl Deref for SampleWithData<'_, Api> { type Target = Sample;