[package]
edition = "2024"
rust-version = "1.90"
name = "clairlune-platform"
version = "0.29.0"
authors = ["Clairlune contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Clairlune's platform layer: monitor enumeration and setting the desktop wallpaper"
readme = "README.md"
keywords = [
"wallpaper",
"desktop",
"monitor",
]
categories = ["os"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/yam333/Clairlune"
[lib]
name = "clairlune_platform"
path = "src/lib.rs"
[dependencies.clairlune-scene]
version = "0.29.0"
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.154"
[dependencies.tracing]
version = "0.1.44"
[target.'cfg(target_os = "macos")'.dependencies.block2]
version = "0.6.2"
[target.'cfg(target_os = "macos")'.dependencies.dispatch2]
version = "0.3.1"
features = ["std"]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.libc]
version = "0.2.191"
[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6.5"
[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3.2"
features = [
"std",
"NSWorkspace",
"NSScreen",
"NSGraphics",
"block2",
"objc2-core-foundation",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-core-graphics]
version = "0.3.2"
features = [
"std",
"CGDirectDisplay",
"CGDisplayConfiguration",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3.2"
features = [
"std",
"NSString",
"NSURL",
"NSDictionary",
"NSValue",
"NSError",
"NSNotification",
"NSArray",
"NSGeometry",
"NSObject",
"NSOperation",
"NSEnumerator",
"block2",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-service-management]
version = "0.3.2"
features = [
"std",
"SMAppService",
"objc2",
"objc2-foundation",
]
default-features = false
[target."cfg(windows)".dependencies.raw-window-handle]
version = "0.6.2"
[target."cfg(windows)".dependencies.windows]
version = "0.62.2"
features = [
"Win32_Foundation",
"Win32_Graphics_Direct3D",
"Win32_Graphics_Direct3D11",
"Win32_Graphics_Dwm",
"Win32_Graphics_Dxgi",
"Win32_Graphics_Dxgi_Common",
"Win32_Graphics_Gdi",
"Win32_System_Com",
"Win32_System_Console",
"Win32_System_LibraryLoader",
"Win32_System_Power",
"Win32_System_ProcessStatus",
"Win32_System_Registry",
"Win32_System_StationsAndDesktops",
"Win32_System_SystemServices",
"Win32_System_Threading",
"Win32_UI_HiDpi",
"Win32_UI_Shell",
"Win32_UI_WindowsAndMessaging",
]
[lints.clippy]
dbg_macro = "deny"
todo = "deny"
unimplemented = "deny"
[lints.rust]
unsafe_op_in_unsafe_fn = "deny"