Update to 0.21

This commit is contained in:
Daniel Collin 2022-03-27 09:58:16 +02:00
parent bd2ce1a84f
commit fee9805dff

View file

@ -1,6 +1,6 @@
[package] [package]
name = "minifb" name = "minifb"
version = "0.20.0" version = "0.21.0"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
authors = ["Daniel Collin <daniel@collin.com>"] authors = ["Daniel Collin <daniel@collin.com>"]
description = "Cross-platform window setup with optional bitmap rendering" description = "Cross-platform window setup with optional bitmap rendering"
@ -12,12 +12,10 @@ build = "build.rs"
edition = "2018" edition = "2018"
readme = "README.md" readme = "README.md"
exclude = [ exclude = ["resources/"]
"resources/"
]
[badges] [badges]
maintenance = {status = "actively-developed"} maintenance = { status = "actively-developed" }
[dev-dependencies] [dev-dependencies]
png = "0.17" png = "0.17"
@ -30,28 +28,32 @@ raw-window-handle = "0.4"
[target.'cfg(windows)'.dependencies.winapi] [target.'cfg(windows)'.dependencies.winapi]
version = "0.3" version = "0.3"
features = [ features = ["winuser", "wingdi", "libloaderapi", "errhandlingapi", "fileapi"]
"winuser",
"wingdi",
"libloaderapi",
"errhandlingapi",
"fileapi"
]
[features] [features]
default = ["wayland", "x11"] default = ["wayland", "x11"]
x11 = ["x11-dl", "xkb", "libc"] x11 = ["x11-dl", "xkb", "libc"]
wayland = ["wayland-client", "wayland-protocols", "wayland-cursor", "tempfile", "xkb", "xkbcommon-sys"] wayland = [
"wayland-client",
"wayland-protocols",
"wayland-cursor",
"tempfile",
"xkb",
"xkbcommon-sys",
]
[target.'cfg(not(any(target_os = "macos", target_os = "redox", windows)))'.dependencies] [target.'cfg(not(any(target_os = "macos", target_os = "redox", windows)))'.dependencies]
wayland-client = {version = "0.29", optional = true} wayland-client = { version = "0.29", optional = true }
wayland-protocols = { version = "0.29", features = ["client", "unstable_protocols"], optional = true } wayland-protocols = { version = "0.29", features = [
wayland-cursor = {version = "0.29", optional = true} "client",
tempfile = {version = "3.3", optional = true} "unstable_protocols",
xkb = {version = "0.2.1", optional = true} ], optional = true }
xkbcommon-sys = {version = "0.7.5", optional = true} wayland-cursor = { version = "0.29", optional = true }
x11-dl = {version = "2.19.1", optional = true} tempfile = { version = "3.3", optional = true }
libc = {version = "0.2.107", optional = true} xkb = { version = "0.2.1", optional = true }
xkbcommon-sys = { version = "0.7.5", optional = true }
x11-dl = { version = "2.19.1", optional = true }
libc = { version = "0.2.107", optional = true }
[target.x86_64-unknown-redox.dependencies] [target.x86_64-unknown-redox.dependencies]
orbclient = "0.3.20" orbclient = "0.3.20"