add option to config

This commit is contained in:
Ferdinand Schober
2024-06-28 23:44:55 +02:00
parent 1db43c4751
commit c2fde88900
5 changed files with 17 additions and 7 deletions

View File

@@ -1,14 +1,14 @@
use thiserror::Error;
use std::fmt::Display;
use thiserror::Error;
#[cfg(all(unix, feature = "wayland", not(target_os = "macos")))]
use std::io;
#[cfg(all(unix, feature = "wayland", not(target_os = "macos")))]
use wayland_client::{
backend::WaylandError,
globals::{BindError, GlobalError},
ConnectError, DispatchError,
};
#[cfg(all(unix, feature = "wayland", not(target_os = "macos")))]
use std::io;
#[derive(Debug, Error)]
pub enum CaptureCreationError {