From 3e59f17131e3f2dd3a02be1062b140ef790b6759 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=A4rtens?= Date: Wed, 10 Mar 2021 16:35:03 +0100 Subject: [PATCH] update wayland to 0.28 and small cleanup (#241) --- Cargo.toml | 10 +++++----- examples/drop.rs | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 927b16e..1ac674c 100644 --- a/Cargo.toml +++ b/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 "] 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} diff --git a/examples/drop.rs b/examples/drop.rs index 43710c6..a6a703b 100644 --- a/examples/drop.rs +++ b/examples/drop.rs @@ -1,4 +1,4 @@ -use minifb::{Key, ScaleMode, Window, WindowOptions}; +use minifb::{Window, WindowOptions}; use std::thread; use std::time::{Duration, Instant};