From 2dbf5119a2ae204d85e320ac5f5cc625275af2df Mon Sep 17 00:00:00 2001 From: ShootingStarDragons Date: Sat, 7 Oct 2023 13:13:52 +0800 Subject: [PATCH] chore: update workflow and bump version --- .github/workflows/rust.yml | 2 +- Cargo.toml | 2 +- src/swayloop.rs | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index d54fa2f..c4efdd6 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -17,6 +17,6 @@ jobs: steps: - uses: actions/checkout@v3 - name: Build - run: cargo build --verbose + run: cargo build --features=all --verbose - name: Run tests run: cargo test --verbose diff --git a/Cargo.toml b/Cargo.toml index 3b65cfe..5fc4f33 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "haruhishot" -version = "0.3.14" +version = "0.3.15" edition = "2021" build = "build.rs" diff --git a/src/swayloop.rs b/src/swayloop.rs index e13bd56..a83c212 100644 --- a/src/swayloop.rs +++ b/src/swayloop.rs @@ -3,6 +3,11 @@ use sctk::{ delegate_compositor, delegate_keyboard, delegate_layer, delegate_output, delegate_registry, delegate_seat, delegate_shm, output::{OutputHandler, OutputState}, + reexports::client::{ + globals::registry_queue_init, + protocol::{wl_keyboard, wl_output, wl_seat, wl_shm, wl_surface}, + Connection, QueueHandle, + }, registry::{ProvidesRegistryState, RegistryState}, registry_handlers, seat::{ @@ -19,11 +24,6 @@ use sctk::{ shm::{slot::SlotPool, Shm, ShmHandler}, }; use std::convert::TryInto; -use wayland_client::{ - globals::registry_queue_init, - protocol::{wl_keyboard, wl_output, wl_seat, wl_shm, wl_surface}, - Connection, QueueHandle, -}; use xkbcommon::xkb::keysyms; use once_cell::sync::Lazy;