Skip to content

Commit 6c430d7

Browse files
authored
[meta] change version number 5.5.2 to 5.6 (#190)
1 parent 3b5da73 commit 6c430d7

File tree

5 files changed

+31
-29
lines changed

5 files changed

+31
-29
lines changed

README.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ Though this binding tries to stay close to the simple C API, it makes some chang
2121

2222
Most development happens over at: https://github.com/raylib-rs/raylib-rs
2323

24-
2524
- Resources are automatically cleaned up when they go out of scope (or when `std::mem::drop` is called). This is essentially RAII. This means that "Unload" functions are not exposed (and not necessary unless you obtain a `Weak` resource using make_weak()).
2625
- Most of the Raylib API is exposed through `RaylibHandle`, which is for enforcing that Raylib is only initialized once, and for making sure the window is closed properly. RaylibHandle has no size and goes away at compile time. Because of mutability rules, Raylib-rs is thread safe!
2726
- A `RaylibHandle` and `RaylibThread` are obtained through `raylib::init_window(...)` or through the newer `init()` function which will allow you to `build` up some window options before initialization (replaces `set_config_flags`). RaylibThread should not be sent to any other threads, or used in a any syncronization primitives (Mutex, Arc) etc.
@@ -30,15 +29,17 @@ Most development happens over at: https://github.com/raylib-rs/raylib-rs
3029
- `Font::from_data`, `Font::set_chars`, and `Font::set_texture` methods were added to create a `Font` from loaded `CharInfo` data.
3130
- `SubText` and `FormatText` are omitted, and are instead covered by Rust's string slicing and Rust's `format!` macro, respectively.
3231

32+
Versions normally match Raylib's own, with the minor number incremented for any patches (i.e. 5.5.1 for Raylib v5.5). On occassion, if enough breaking changes are made in between Raylib releases, we'll release a 5.6, which is 5.5 but with breaking changes.
33+
3334
# Installation
3435

3536
## Supported Platforms
3637

37-
| API | Windows | Linux | macOS | Web | Android |
38-
| ------ | ------------------ | ------------------ | ------------------ | -------------- | ------- |
39-
| core | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :x: |
40-
| rgui | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: || :x: |
41-
| rlgl | :heavy_check_mark: | :x: | :x: || :x: |
38+
| API | Windows | Linux | macOS | Web | Android |
39+
| ---- | ------------------ | ------------------ | ------------------ | ------------------ | ------- |
40+
| core | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :x: |
41+
| rgui | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: || :x: |
42+
| rlgl | :heavy_check_mark: | :x: | :x: || :x: |
4243

4344
## Build Dependencies
4445

@@ -49,7 +50,7 @@ Follow instructions for building raylib for your platform [here](https://github.
4950

5051
```toml
5152
[dependencies]
52-
raylib = { version = "5.5" }
53+
raylib = { version = "5.6" }
5354
```
5455

5556
2. Start coding!
@@ -78,7 +79,7 @@ To use raylib-rs on NixOS there's a provided nix-shell file `shell.nix` at the r
7879

7980
`nix-shell ./shell.nix`
8081

81-
You'll also need to enable the Wayland feature on the raylib crate:
82+
You'll also need to enable the Wayland feature on the raylib crate:
8283

8384
`cargo add raylib -F wayland`
8485

@@ -87,7 +88,7 @@ Contributions are welcome to improve or fix the shell.nix!
8788
# Tech Notes
8889

8990
- Structs holding resources have RAII/move semantics, including: `Image`, `Texture2D`, `RenderTexture2D`, `Font`, `Mesh`, `Shader`, `Material`, and `Model`.
90-
- `Wave`, `Sound`, `Music`, and `AudioStream` have lifetimes bound to `AudioHandle`.
91+
- `Wave`, `Sound`, `Music`, and `AudioStream` have lifetimes bound to `AudioHandle`.
9192
- Functions dealing with string data take in `&str` and/or return an owned `String`, for the sake of safety. The exception to this is the gui draw functions which take &CStr to avoid per frame allocations. The `rstr!` macro helps make this easy.
9293
- In C, `LoadFontData` returns a pointer to a heap-allocated array of `CharInfo` structs. In this Rust binding, said array is copied into an owned `Vec<CharInfo>`, the original data is freed, and the owned Vec is returned.
9394
- In C, `LoadDroppedFiles` returns a pointer to an array of strings owned by raylib. Again, for safety and also ease of use, this binding copies said array into a `Vec<String>` which is returned to the caller.
@@ -102,7 +103,8 @@ Contributions are welcome to improve or fix the shell.nix!
102103
### If building for Wayland on Linux
103104

104105
3. Install these packages:
105-
`libglfw3-dev wayland-devel libxkbcommon-devel wayland-protocols wayland-protocols-devel libecm-dev`
106+
`libglfw3-dev wayland-devel libxkbcommon-devel wayland-protocols wayland-protocols-devel libecm-dev`
107+
106108
###### Note that this may not be a comprehensive list, please add details for your distribution or expand on these packages if you believe this to be incomplete.
107109

108110
4. Enable wayland by adding `features=["wayland"]` to your dependency definition

raylib-sys/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "raylib-sys"
3-
version = "5.5.2"
3+
version = "5.6"
44
authors = ["raylib-rs team <https://github.com/raylib-rs/raylib-rs>"]
55
license = "Zlib"
66
description = "Raw FFI bindings for Raylib"
@@ -17,7 +17,7 @@ imgui-sys = { version = "0.12.0", optional = true }
1717

1818
[build-dependencies]
1919
cmake = "0.1.51"
20-
cc = { version = "1.0", features = ["parallel"]}
20+
cc = { version = "1.0", features = ["parallel"] }
2121
bindgen = "0.70"
2222

2323
[features]
@@ -85,7 +85,7 @@ imgui = ["dep:imgui", "dep:imgui-sys"]
8585
nobuild = []
8686

8787
# OpenGL stuff, intended for fixing #122
88-
opengl_11 = [] # buggy? might not work with wayland
88+
opengl_11 = [] # buggy? might not work with wayland
8989
opengl_21 = []
9090
opengl_33 = []
9191
opengl_43 = []
@@ -109,7 +109,7 @@ GLFW_BUILD_X11 = []
109109
INCLUDE_EVERYTHING = []
110110

111111
USE_AUDIO = []
112-
SUPPORT_MODULE_RSHAPES = []
112+
SUPPORT_MODULE_RSHAPES = []
113113
SUPPORT_MODULE_RTEXTURES = []
114114
SUPPORT_MODULE_RTEXT = []
115115
SUPPORT_MODULE_RMODELS = []
@@ -170,4 +170,4 @@ SUPPORT_TRACELOG = []
170170
SUPPORT_SCREEN_CAPTURE = []
171171
SUPPORT_VR_SIMULATOR = []
172172
SUPPORT_DISTORTION_SHADER = []
173-
SUPPORT_FONT_TEXTURE = []
173+
SUPPORT_FONT_TEXTURE = []

raylib-test/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ readme = "../README.md"
88
repository = "https://github.com/raylib-rs/raylib-rs"
99

1010
[dependencies]
11-
raylib = { version = "5.5.2", path = "../raylib" }
12-
raylib_sys = { version = "5.5.2", path = "../raylib-sys" }
11+
raylib = { version = "5.6", path = "../raylib" }
12+
raylib_sys = { version = "5.6", path = "../raylib-sys" }
1313
lazy_static = "1.2.0"
1414
colored = "1.9.1"
1515

1616
[features]
17-
SUPPORT_CUSTOM_FRAME_CONTROL = ["raylib/SUPPORT_CUSTOM_FRAME_CONTROL"]
17+
SUPPORT_CUSTOM_FRAME_CONTROL = ["raylib/SUPPORT_CUSTOM_FRAME_CONTROL"]
1818
automation_event_test = []

raylib/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "raylib"
3-
version = "5.5.2"
3+
version = "5.6"
44
authors = ["raylib-rs team <https://github.com/raylib-rs/raylib-rs>"]
55
license = "Zlib"
66
readme = "../README.md"
@@ -13,7 +13,7 @@ edition = "2021"
1313
autoexamples = false
1414

1515
[dependencies]
16-
raylib-sys = { version = "5.5.2", path = "../raylib-sys", default-features = false }
16+
raylib-sys = { version = "5.6", path = "../raylib-sys", default-features = false }
1717
serde = { version = "1.0.125", features = ["derive"], optional = true }
1818
serde_json = { version = "1.0.64", optional = true }
1919
imgui = { version = "0.12.0", optional = true, features = [] }
@@ -43,7 +43,7 @@ imgui = ["raylib-sys/imgui", "dep:imgui", "dep:imgui-sys"]
4343
nobuild = ["raylib-sys/nobuild"]
4444

4545
# opengl stuff
46-
opengl_11 = ["raylib-sys/opengl_11"] # buggy? might not work with wayland
46+
opengl_11 = ["raylib-sys/opengl_11"] # buggy? might not work with wayland
4747
opengl_21 = ["raylib-sys/opengl_21"]
4848
opengl_33 = ["raylib-sys/opengl_33"]
4949
opengl_43 = ["raylib-sys/opengl_43"]
@@ -67,7 +67,7 @@ GLFW_BUILD_X11 = ["raylib-sys/GLFW_BUILD_X11"]
6767
INCLUDE_EVERYTHING = ["raylib-sys/INCLUDE_EVERYTHING"]
6868

6969
USE_AUDIO = ["raylib-sys/USE_AUDIO"]
70-
SUPPORT_MODULE_RSHAPES = ["raylib-sys/SUPPORT_MODULE_RSHAPES"]
70+
SUPPORT_MODULE_RSHAPES = ["raylib-sys/SUPPORT_MODULE_RSHAPES"]
7171
SUPPORT_MODULE_RTEXTURES = ["raylib-sys/SUPPORT_MODULE_RTEXTURES"]
7272
SUPPORT_MODULE_RTEXT = ["raylib-sys/SUPPORT_MODULE_RTEXT"]
7373
SUPPORT_MODULE_RMODELS = ["raylib-sys/SUPPORT_MODULE_RMODELS"]
@@ -131,4 +131,4 @@ SUPPORT_DISTORTION_SHADER = ["raylib-sys/SUPPORT_DISTORTION_SHADER"]
131131
SUPPORT_FONT_TEXTURE = ["raylib-sys/SUPPORT_FONT_TEXTURE"]
132132

133133
[package.metadata.docs.rs]
134-
features = ["nobuild"]
134+
features = ["nobuild"]

samples/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "raylib-examples"
3-
version = "5.5.2"
3+
version = "5.6"
44
authors = ["raylib-rs team <https://github.com/raylib-rs/raylib-rs>"]
55
edition = "2021"
66
license = "Zlib"
@@ -9,19 +9,19 @@ repository = "https://github.com/raylib-rs/raylib-rs"
99

1010

1111
[dependencies]
12-
raylib = { path = "../raylib", version = "5.5.2" }
12+
raylib = { path = "../raylib", version = "5.6" }
1313
structopt = "0.2"
1414
specs-derive = "0.4.1"
1515
rand = "0.8"
1616
#tcod = "0.14"
1717
serde = { version = "1.0", features = ["derive"] }
1818
serde_json = "1.0"
19-
imgui = {version = "0.12.0", optional = true}
20-
imgui-sys = {version = "0.12.0", optional = true}
21-
ringbuf = {version = "0.4.7", optional = true}
19+
imgui = { version = "0.12.0", optional = true }
20+
imgui-sys = { version = "0.12.0", optional = true }
21+
ringbuf = { version = "0.4.7", optional = true }
2222

2323
[features]
24-
imgui = ["raylib/imgui","dep:imgui","dep:imgui-sys"]
24+
imgui = ["raylib/imgui", "dep:imgui", "dep:imgui-sys"]
2525
ringbuf = ["dep:ringbuf"]
2626

2727
[dependencies.specs]

0 commit comments

Comments
 (0)