# 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 = "2021" name = "screen_size" version = "0.1.0" authors = ["Emma Britton "] build = false publish = true autobins = false autoexamples = false autotests = false autobenches = false description = "Gets the monitor/screen size for desktop" readme = "README.md" license-file = "LICENSE" repository = "https://github.com/emmabritton/screen_size" [lib] name = "screen_size" path = "src/lib.rs" [[example]] name = "basic" path = "examples/basic.rs" [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.thiserror] version = "1.0" [features] serde = ["dep:serde"] [target.'cfg(target_os = "linux")'.dependencies.x11] version = "2.21" features = ["xlib"] [target.'cfg(target_os = "macos")'.dependencies.core-graphics] version = "0.24.0" [target.'cfg(target_os = "windows")'.dependencies.winapi] version = "0.3" features = ["winuser"]