display-config 0.1.1

A crate providing functions related to display configuration.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "display-config"
version = "0.1.1"
authors = ["Takagi Tasuku <tasuren@outlook.jp>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A crate providing functions related to display configuration."
readme = "README.md"
keywords = [
    "display",
    "display-observer",
    "windows",
    "macos",
]
categories = [
    "os::windows-apis",
    "os::macos-apis",
]
license = "MIT"
repository = "https://github.com/tasuren/display-observer-rs"

[package.metadata.docs.rs]
default-target = "x86_64-pc-windows-msvc"
targets = [
    "x86_64-pc-windows-msvc",
    "aarch64-apple-darwin",
]

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

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

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

[dependencies.dpi]
version = "0.1"

[dependencies.thiserror]
version = "2"

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

[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3.2"
features = [
    "NSApplication",
    "NSResponder",
]
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.objc2-core-graphics]
version = "0.3.2"
features = [
    "libc",
    "CGError",
    "CGDirectDisplay",
    "CGDisplayConfiguration",
]
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.smallvec]
version = "1.15"

[target.'cfg(target_os = "windows")'.dependencies.smallvec]
version = "1.15"

[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.62"
features = [
    "Win32_Foundation",
    "Win32_Graphics",
    "Win32_Graphics_Gdi",
    "Win32_System",
    "Win32_System_LibraryLoader",
    "Win32_UI",
    "Win32_UI_WindowsAndMessaging",
    "Win32_Devices",
    "Win32_Devices_Display",
    "Win32_UI_HiDpi",
]
default-features = false