Update to 0.35.2

This commit is contained in:
Cobrand
2022-02-06 19:13:27 +01:00
parent f01b240e14
commit b36d04851a
4 changed files with 13 additions and 5 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ name = "sdl2"
description = "SDL2 bindings for Rust"
repository = "https://github.com/Rust-SDL2/rust-sdl2"
documentation = "https://rust-sdl2.github.io/rust-sdl2/sdl2/"
version = "0.35.1"
version = "0.35.2"
license = "MIT"
authors = [ "Tony Aldridge <tony@angry-lawyer.com>", "Cobrand <cobrandw@gmail.com>"]
keywords = ["SDL", "windowing", "graphics", "api", "engine"]
@@ -22,7 +22,7 @@ lazy_static = "1.4.0"
[dependencies.sdl2-sys]
path = "sdl2-sys"
version = "^0.35.1"
version = "^0.35.2"
[dependencies.c_vec]
# allow both 1.* and 2.0 versions
+9 -1
View File
@@ -1,7 +1,15 @@
In this file will be listed the changes, especially the breaking ones that one should be careful of
when upgrading from a version of rust-sdl2 to another.
### Unreleased
### v0.35.2
[PR #1173](https://github.com/Rust-SDL2/rust-sdl2/pull/1173) Fix segfault when using timer callbacks
[PR #1183](https://github.com/Rust-SDL2/rust-sdl2/pull/1183) WinRT support for raw-window-handle
[PR #1182](https://github.com/Rust-SDL2/rust-sdl2/pull/1182) Updated raw-window-handle to 0.4
[PR #1189](https://github.com/Rust-SDL2/rust-sdl2/pull/1189) Added `AudioQueue::queue_audio` and deprecated `AudioQueue::queue`
[PR #1164](https://github.com/Rust-SDL2/rust-sdl2/pull/1164) Added raw-window-handle support for Android
+1 -1
View File
@@ -3,7 +3,7 @@
name = "sdl2-sys"
description = "Raw SDL2 bindings for Rust, used internally rust-sdl2"
repository = "https://github.com/rust-sdl2/rust-sdl2"
version = "0.35.1"
version = "0.35.2"
authors = ["Tony Aldridge <tony@angry-lawyer.com>"]
keywords = ["SDL", "windowing", "graphics", "ffi"]
categories = ["rendering","external-ffi-bindings","game-engines","multimedia"]
+1 -1
View File
@@ -751,7 +751,7 @@ impl<'a, Channel: AudioFormatNum> AudioQueue<Channel> {
/// Adds data to the audio queue.
#[doc(alias = "SDL_QueueAudio")]
#[deprecated(
since = "0.36.0",
since = "0.35.2",
note = "Users should instead use AudioQueue::queue_audio"
)]
pub fn queue(&self, data: &[Channel]) -> bool {