dark-light 2.0.0

Detect if dark mode or light mode is enabled
Documentation
[dependencies]

[[example]]
name = "detect"
path = "examples/detect.rs"

[lib]
name = "dark_light"
path = "src/lib.rs"

[package]
authors = ["Corey Farwell <coreyf@rwell.org>", "Eduardo Flores <edflores@proton.me>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
description = "Detect if dark mode or light mode is enabled"
edition = "2021"
license = "MIT/Apache-2.0"
name = "dark-light"
readme = "README.md"
repository = "https://github.com/rust-dark-light/rust-dark-light"
rust-version = "1.78.0"
version = "2.0.0"

[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "netbsd", target_os = "openbsd"))'.dependencies.ashpd]
default-features = false
features = ["async-std"]
version = "0.10.0"

[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "netbsd", target_os = "openbsd"))'.dependencies.async-std]
version = "1.13.0"

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
features = ["MediaQueryList", "Window"]
version = "0.3"

[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.5.2"

[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
features = ["NSObject", "NSString", "NSDictionary", "NSUserDefaults"]
version = "0.2.0"

[target."cfg(windows)".dependencies.winreg]
version = "0.52.0"