This commit is contained in:
Michael Zhang 2023-08-20 04:53:05 -05:00
parent 2572d86afd
commit 130d279261
Signed by: michael
GPG key ID: BDA47A31A3C8EE6B
3 changed files with 5 additions and 8 deletions

View file

@ -1,13 +1,13 @@
[package] [package]
name = "safex11" name = "safex11"
version = "0.0.4" version = "0.0.6"
description = "Safe, high-level x11 bindings" description = "Safe, high-level x11 bindings"
license-file = "LICENSE" license-file = "LICENSE"
authors = ["Michael Zhang <iptq@protonmail.com>"] authors = ["Michael Zhang <mail@mzhang.io>"]
edition = "2018" edition = "2021"
documentation = "https://docs.rs/safex11" documentation = "https://docs.rs/safex11"
readme = "README.md" readme = "README.md"
repository = "https://git.sr.ht/~iptq/safex11" repository = "https://git.mzhang.io/michael/safex11"
[package.metadata.docs.rs] [package.metadata.docs.rs]
all-features = true all-features = true

View file

@ -1,7 +1,3 @@
use std::env;
use std::fs::File;
use std::path::Path;
#[cfg(feature = "glx")] #[cfg(feature = "glx")]
use gl_generator::{Api, Fallbacks, GlobalGenerator, Profile, Registry}; use gl_generator::{Api, Fallbacks, GlobalGenerator, Profile, Registry};

View file

@ -5,6 +5,7 @@ use crate::errors::{Error, Result};
/// An x11 Event /// An x11 Event
#[derive(Debug)] #[derive(Debug)]
pub struct Event { pub struct Event {
#[allow(dead_code)]
inner: xlib::XEvent, inner: xlib::XEvent,
kind: EventKind, kind: EventKind,
} }