[package]
edition = "2024"
rust-version = "1.92"
name = "dais-platform"
version = "0.1.0"
authors = ["Christopher T. Kenny"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Platform-specific monitor management for Dais"
homepage = "https://github.com/christopherkenny/dais"
documentation = "https://docs.rs/dais-platform"
readme = "README.md"
keywords = [
"pdf",
"presentation",
"slides",
]
categories = [
"command-line-utilities",
"multimedia",
]
license = "MIT"
repository = "https://github.com/christopherkenny/dais"
resolver = "2"
[features]
default = []
wayland = []
x11 = ["dep:x11rb"]
[lib]
name = "dais_platform"
path = "src/lib.rs"
[dependencies.dais-core]
version = "0.1.0"
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
[target.'cfg(target_os = "linux")'.dependencies.x11rb]
version = "0.13"
features = ["randr"]
optional = true
[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6"
[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3"
features = ["NSScreen"]
[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3"
features = [
"NSArray",
"NSString",
]
[target."cfg(windows)".dependencies.windows]
version = "0.62"
features = [
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_UI_HiDpi",
"Win32_UI_WindowsAndMessaging",
]
[lints.clippy]
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
struct_excessive_bools = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "warn"