update
This commit is contained in:
parent
2572d86afd
commit
130d279261
3 changed files with 5 additions and 8 deletions
|
@ -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
|
||||||
|
|
4
build.rs
4
build.rs
|
@ -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};
|
||||||
|
|
||||||
|
|
|
@ -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,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue