mirror of
https://github.com/italicsjenga/rust_minifb.git
synced 2024-12-23 11:21:30 +11:00
update wayland to 0.28 and small cleanup (#241)
This commit is contained in:
parent
241c01219f
commit
3e59f17131
10
Cargo.toml
10
Cargo.toml
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "minifb"
|
||||
version = "0.19.2"
|
||||
version = "0.19.3"
|
||||
license = "MIT/Apache-2.0"
|
||||
authors = ["Daniel Collin <daniel@collin.com>"]
|
||||
description = "Cross-platform window setup with optional bitmap rendering"
|
||||
|
@ -43,10 +43,10 @@ x11 = ["x11-dl", "xkb"]
|
|||
wayland = ["wayland-client", "wayland-protocols", "wayland-cursor", "tempfile", "xkb", "xkbcommon-sys"]
|
||||
|
||||
[target.'cfg(not(any(target_os = "macos", target_os = "redox", windows)))'.dependencies]
|
||||
wayland-client = {version = "0.27", optional = true}
|
||||
wayland-protocols = { version = "0.27", features = ["client", "unstable_protocols"], optional = true }
|
||||
wayland-cursor = {version = "0.27", optional = true}
|
||||
tempfile = {version = "3.1.0", optional = true}
|
||||
wayland-client = {version = "0.28", optional = true}
|
||||
wayland-protocols = { version = "0.28", features = ["client", "unstable_protocols"], optional = true }
|
||||
wayland-cursor = {version = "0.28", optional = true}
|
||||
tempfile = {version = "3.2", optional = true}
|
||||
xkb = {version = "0.2.1", optional = true}
|
||||
xkbcommon-sys = {version = "0.7.5", optional = true}
|
||||
x11-dl = {version = "2.18.3", optional = true}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use minifb::{Key, ScaleMode, Window, WindowOptions};
|
||||
use minifb::{Window, WindowOptions};
|
||||
use std::thread;
|
||||
use std::time::{Duration, Instant};
|
||||
|
||||
|
|
Loading…
Reference in a new issue