mirror of
https://github.com/italicsjenga/rust_minifb.git
synced 2024-12-23 11:21:30 +11:00
Update to 0.23
This commit is contained in:
parent
e96380375c
commit
0ed3156941
|
@ -2,6 +2,12 @@
|
|||
|
||||
This project follows semantic versioning.
|
||||
|
||||
### v0.23 (2022-04-19)
|
||||
|
||||
- [fixed] wayland: Fix key character callback & Reduce wayland dependencies (Thanks vmedea!)
|
||||
- [fixed] Use coercion on types failing compilation on 64 bit raspbian bullseye (Thanks wtfuzz!)
|
||||
- [added] WASM support. Thanks dc740 and tversteeg! See https://github.com/dc740/minifb-async-examples for example.
|
||||
|
||||
### v0.22 (2022-03-27)
|
||||
|
||||
- [fixed] Updated docs to make it a bit more clear that only one of `update_with_buffer` or `update` should be used for updating a window.
|
||||
|
|
52
Cargo.toml
52
Cargo.toml
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "minifb"
|
||||
version = "0.22.0"
|
||||
version = "0.24.0"
|
||||
license = "MIT OR Apache-2.0"
|
||||
authors = ["Daniel Collin <daniel@collin.com>"]
|
||||
description = "Cross-platform window setup with optional bitmap rendering"
|
||||
|
@ -35,20 +35,15 @@ default = ["wayland", "x11", "dlopen"]
|
|||
dlopen = ["wayland-client/dlopen"]
|
||||
x11 = ["x11-dl", "libc"]
|
||||
wayland = [
|
||||
"dlib",
|
||||
"lazy_static",
|
||||
"libc",
|
||||
"tempfile",
|
||||
"wayland-client",
|
||||
"wayland-cursor",
|
||||
"wayland-protocols",
|
||||
]
|
||||
web = [
|
||||
"wasm-bindgen",
|
||||
"web-sys",
|
||||
"instant/wasm-bindgen",
|
||||
"instant/inaccurate"
|
||||
"dlib",
|
||||
"lazy_static",
|
||||
"libc",
|
||||
"tempfile",
|
||||
"wayland-client",
|
||||
"wayland-cursor",
|
||||
"wayland-protocols",
|
||||
]
|
||||
web = ["wasm-bindgen", "web-sys", "instant/wasm-bindgen", "instant/inaccurate"]
|
||||
|
||||
[target.'cfg(not(any(target_os = "macos", target_os = "redox", windows)))'.dependencies]
|
||||
wayland-client = { version = "0.29", optional = true }
|
||||
|
@ -64,11 +59,9 @@ dlib = { version = "0.5", optional = true }
|
|||
lazy_static = { version = "1.0", optional = true }
|
||||
|
||||
|
||||
|
||||
[target.x86_64-unknown-redox.dependencies]
|
||||
orbclient = "0.3.20"
|
||||
|
||||
|
||||
# The `wasm-bindgen` crate provides the bare minimum functionality needed
|
||||
# to interact with JavaScript.
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
|
||||
|
@ -82,15 +75,34 @@ features = ["serde-serialize"]
|
|||
version = "0.3.56"
|
||||
optional = true
|
||||
features = [
|
||||
"console", "Window", "Document", "Navigator", "Element", "Node", "ImageData", "HtmlCanvasElement", "HtmlImageElement", "CanvasRenderingContext2d",
|
||||
"Headers", "Request", "RequestInit", "RequestMode", "Response", "Blob", "Url", "Gamepad", "GamepadButton", "GamepadEvent", 'MouseEvent', 'KeyboardEvent',
|
||||
"console",
|
||||
"Window",
|
||||
"Document",
|
||||
"Navigator",
|
||||
"Element",
|
||||
"Node",
|
||||
"ImageData",
|
||||
"HtmlCanvasElement",
|
||||
"HtmlImageElement",
|
||||
"CanvasRenderingContext2d",
|
||||
"Headers",
|
||||
"Request",
|
||||
"RequestInit",
|
||||
"RequestMode",
|
||||
"Response",
|
||||
"Blob",
|
||||
"Url",
|
||||
"Gamepad",
|
||||
"GamepadButton",
|
||||
"GamepadEvent",
|
||||
'MouseEvent',
|
||||
'KeyboardEvent',
|
||||
]
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
instant = { version = "0.1.12", features = [ "wasm-bindgen", "inaccurate" ] }
|
||||
instant = { version = "0.1.12", features = ["wasm-bindgen", "inaccurate"] }
|
||||
js-sys = "0.3.56"
|
||||
wasm-bindgen-futures = "0.4.29"
|
||||
serde = { version = "1.0.136", features = ["derive"] }
|
||||
serde_derive = "1.0.123"
|
||||
futures = "0.3.12"
|
||||
|
||||
|
|
Loading…
Reference in a new issue