displayz 1.1.0

A CLI tool and library to control display settings on Windows written in Rust.
[[bin]]
name = "displayz"
path = "src/main.rs"

[dependencies.color-eyre]
version = "0.6.5"

[dependencies.env_logger]
version = "0.11.8"

[dependencies.log]
version = "0.4.29"

[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0"

[dependencies.serde_json]
optional = true
version = "1.0"

[dependencies.structopt]
version = "0.3.26"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.windows]
features = ["Win32_Graphics_Gdi", "Win32_Devices_Display", "Win32_Foundation"]
version = "0.62.2"

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

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

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

[[example]]
name = "upside-down"
path = "examples/upside-down.rs"

[features]
default = ["json"]
json = ["dep:serde", "dep:serde_json"]

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

[package]
authors = ["Michael Lohr <michael@lohr.dev>", "Schuwi <Schuwi@protonmail.ch>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["command-line-utilities", "config"]
description = "A CLI tool and library to control display settings on Windows written in Rust. "
documentation = "https://github.com/michidk/displayz"
edition = "2024"
homepage = "https://github.com/michidk/displayz"
keywords = ["display", "settings", "cli"]
license = "MIT"
name = "displayz"
readme = "README.md"
repository = "https://github.com/michidk/displayz"
version = "1.1.0"

[[test]]
name = "find_display"
path = "tests/find_display.rs"

[[test]]
name = "orientation"
path = "tests/orientation.rs"

[[test]]
name = "primary_display"
path = "tests/primary_display.rs"