update wayland to 0.28 and small cleanup (#241)

This commit is contained in:
Marcel Märtens 2021-03-10 16:35:03 +01:00 committed by GitHub
parent 241c01219f
commit 3e59f17131
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View file

@ -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}

View file

@ -1,4 +1,4 @@
use minifb::{Key, ScaleMode, Window, WindowOptions};
use minifb::{Window, WindowOptions};
use std::thread;
use std::time::{Duration, Instant};