Skip to content

Commit 380c6f1

Browse files
committed
Changes to Readme
1 parent 4d5a1d9 commit 380c6f1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "sdl2"
33
description = "SDL2 bindings for Rust"
44
repository = "https://github.com/Rust-SDL2/rust-sdl2"
5-
documentation = "https://rust-sdl2.github.io/rust-sdl2/sdl2/"
5+
documentation = "https://docs.rs/sdl2"
66
version = "0.37.0"
77
license = "MIT"
88
authors = [ "Tony Aldridge <[email protected]>", "Cobrand <[email protected]>"]

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Rust-SDL2 uses the MIT license, but SDL2 itselfais in under the zlib license.
1818
* `image` to link against SDL2\_image and have access to image reading and writing features
1919
* `mixer` to link against SDL2\_mixer and have access to sound mixing features
2020
* `ttf` to link against SDL2\_ttf and have access to various font features
21+
* `raw-window-handle` to enable the crate `raw-window-handle`, which is useful to interop with various other backends.
2122
* `unsafe-textures` to not have a lifetime in `Texture` structs. Texture are only freed when the program exits, or can be done manually through `unsafe`.
2223
* `use-bindgen` to customize bindings instead of using pre-generated `sdl_bindings` which were created from a Linux environment. It generates your own custom SDL2 bindings, tailored to your distro. Useful for specific window-related scenarios.
2324
* `use-vcpkg` to pull SDL2 from vcpkg instead of looking in your system.

0 commit comments

Comments
 (0)