[package] name = "clipbin-core" description = "Recorder settings and state independent of the Clipbin desktop interface." version.workspace = true edition.workspace = true rust-version.workspace = true license.workspace = true repository.workspace = true publish.workspace = true [lints.rust] unsafe_code = "deny" [dependencies] dirs = "5" serde = { version = "1", features = ["derive"] } serde_json = "1" tempfile = "3" [target.'cfg(target_os = "linux")'.dependencies] ashpd = { version = "0.12.3", default-features = false, features = ["async-std"] } async-io = "2" futures-lite = "2" futures-util = "0.3" x11rb = { version = "0.13", features = ["xkb"] } rustix = { version = "1", features = ["process", "event"] } [target.'cfg(windows)'.dependencies] winreg = "0.55" windows-sys = { version = "0.61", features = ["Win32_UI_Input_KeyboardAndMouse", "Win32_UI_WindowsAndMessaging", "Win32_Foundation", "Win32_System_Threading", "Win32_System_Diagnostics_ToolHelp"] }