-
Notifications
You must be signed in to change notification settings - Fork 12
/
Cargo.toml
27 lines (23 loc) · 803 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[package]
name = "dark-light"
version = "0.2.2"
authors = ["Corey Farwell <coreyf@rwell.org>"]
edition = "2018"
license = "MIT/Apache-2.0"
repository = "https://github.com/frewsxcv/rust-dark-light"
description = "Detect if dark mode or light mode is enabled"
readme = "README.md"
build = "build.rs"
[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "netbsd", target_os = "openbsd"))'.dependencies]
detect-desktop-environment = "0.2"
dconf_rs = "0.3"
dirs = "4.0"
zbus = "3.0"
zvariant = "3.6"
rust-ini = "0.18"
[target.'cfg(windows)'.dependencies]
winreg = "0.10"
[target.'cfg(target_os = "macos")'.dependencies]
objc = "0.2"
[target.'cfg(target_arch = "wasm32")'.dependencies]
web-sys = { version = "0.3", features = [ "MediaQueryList", "Window" ] }