1
0
Fork 0
forked from wry/wry

all: update dependencies

This commit is contained in:
Julian Orth 2023-10-22 15:58:28 +02:00
parent 12bc45b07f
commit a09e8bfbd3
6 changed files with 329 additions and 387 deletions

698
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -20,9 +20,9 @@ ahash = "0.8.2"
log = { version = "0.4.16", features = ["std"] }
futures-util = "0.3.19"
num-traits = "0.2.14"
num-derive = "0.3.3"
bitflags = "1.3.2"
libloading = "0.7.2"
num-derive = "0.4.1"
bitflags = "2.4.1"
libloading = "0.8.1"
bstr = { version = "1.1.0", default-features = false, features = ["std"] }
isnt = "0.1.0"
once_cell = "1.9.0"
@ -37,7 +37,7 @@ pin-project = "1.0.10"
clap = { version = "4.0.29", features = ["derive", "wrap_help"] }
clap_complete = "4.0.6"
humantime = "2.1.0"
dirs = "4.0.0"
dirs = "5.0.1"
backtrace = "0.3.64"
chrono = "0.4.19"
parking_lot = "0.12.1"

View file

@ -31,7 +31,6 @@ pub fn bincode_ops() -> impl bincode::config::Config {
.with_fixed_int_encoding()
.with_little_endian()
.with_no_limit()
.skip_fixed_array_length()
}
pub trait Config {

View file

@ -25,7 +25,7 @@ const TOP_RIGHT: u32 = 7;
const BOTTOM_RIGHT: u32 = 8;
bitflags::bitflags! {
#[derive(Default)]
#[derive(Copy, Clone, Default, Debug)]
pub struct Edge: u32 {
const TOP = 1 << 0;
const BOTTOM = 1 << 1;
@ -53,7 +53,7 @@ impl Edge {
}
bitflags::bitflags! {
#[derive(Default)]
#[derive(Copy, Clone, Default, Debug)]
pub struct CA: u32 {
const NONE = 0;
const SLIDE_X = 1;

View file

@ -271,7 +271,7 @@ impl PwClientNode {
f.write_int(-1);
// n_buffers
f.write_uint(buffers.len() as _);
for buffer in buffers.deref() {
for buffer in buffers {
// n_datas
f.write_uint(buffer.planes.len() as _);
for plane in &buffer.planes {

View file

@ -47,6 +47,7 @@ where
}
bitflags::bitflags! {
#[derive(Copy, Clone, Debug)]
pub struct ClientExt: u32 {
const EXT_CLIENT_EXTENSION = 1 << 0;
const EXT_PLATFORM_BASE = 1 << 1;
@ -68,6 +69,7 @@ pub fn get_client_ext() -> ClientExt {
}
bitflags::bitflags! {
#[derive(Copy, Clone, Debug)]
pub struct DisplayExt: u32 {
const KHR_IMAGE_BASE = 1 << 0;
const EXT_IMAGE_DMA_BUF_IMPORT = 1 << 1;
@ -116,6 +118,7 @@ pub(super) unsafe fn get_display_ext(dpy: EGLDisplay) -> DisplayExt {
}
bitflags::bitflags! {
#[derive(Copy, Clone, Debug)]
pub struct GlExt: u32 {
const GL_OES_EGL_IMAGE = 1 << 0;
const GL_OES_EGL_IMAGE_EXTERNAL = 1 << 1;