From 130d2792610aa34cfc18084b2bf8666c43c49ec4 Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Sun, 20 Aug 2023 04:53:05 -0500 Subject: [PATCH] update --- Cargo.toml | 8 ++++---- build.rs | 4 ---- src/xlib/event.rs | 1 + 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d4c124f..f52fc98 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "safex11" -version = "0.0.4" +version = "0.0.6" description = "Safe, high-level x11 bindings" license-file = "LICENSE" -authors = ["Michael Zhang "] -edition = "2018" +authors = ["Michael Zhang "] +edition = "2021" documentation = "https://docs.rs/safex11" readme = "README.md" -repository = "https://git.sr.ht/~iptq/safex11" +repository = "https://git.mzhang.io/michael/safex11" [package.metadata.docs.rs] all-features = true diff --git a/build.rs b/build.rs index 91a97c0..eb0008a 100644 --- a/build.rs +++ b/build.rs @@ -1,7 +1,3 @@ -use std::env; -use std::fs::File; -use std::path::Path; - #[cfg(feature = "glx")] use gl_generator::{Api, Fallbacks, GlobalGenerator, Profile, Registry}; diff --git a/src/xlib/event.rs b/src/xlib/event.rs index a1b9e88..e57d973 100644 --- a/src/xlib/event.rs +++ b/src/xlib/event.rs @@ -5,6 +5,7 @@ use crate::errors::{Error, Result}; /// An x11 Event #[derive(Debug)] pub struct Event { + #[allow(dead_code)] inner: xlib::XEvent, kind: EventKind, }