DesktopChomik/Cargo.toml
2026-10-28 09:56:33 +01:00

51 lines
1.3 KiB
TOML

[workspace]
members = ["tools/convert_frames"]
resolver = "2"
[package]
name = "hamster-pet"
version = "0.1.0"
edition = "2021"
description = "Transparent always-on-top desktop hamster driven by the frames/ clip set"
license = "MIT"
[lib]
name = "hamster_pet"
path = "src/lib.rs"
[[bin]]
name = "hamster-pet"
path = "src/main.rs"
[dependencies]
serde = { version = "1", features = ["derive"] }
serde_json = "1"
image = { version = "0.25", default-features = false, features = ["webp"] }
# Watches the screenshot folders on every platform.
notify = "8"
[target.'cfg(target_os = "linux")'.dependencies]
libc = "0.2"
x11rb = { version = "0.13", features = ["shape", "randr"] }
wayland-client = "0.31"
wayland-protocols = { version = "0.32", features = ["client"] }
wayland-protocols-wlr = { version = "0.3", features = ["client"] }
zbus = "5"
[target.'cfg(target_os = "windows")'.dependencies]
windows = { version = "0.62", features = [
"Foundation",
"Media_Control",
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_System_LibraryLoader",
"Win32_System_WinRT",
"Win32_UI_HiDpi",
"Win32_UI_Input_KeyboardAndMouse",
"Win32_UI_WindowsAndMessaging",
] }
# The async status of the media session manager, which the `windows` crate leaves to this crate.
windows-future = "0.3"
[profile.release]
lto = "thin"