# 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 = "2018" name = "brightness" version = "0.5.0" authors = [ "Stephane Raux ", "Contributors", ] description = "Get and set display brightness" homepage = "https://github.com/stephaneyfx/brightness" documentation = "https://docs.rs/brightness" readme = "README.md" keywords = [ "brightness", "backlight", ] license = "0BSD" repository = "https://github.com/stephaneyfx/brightness.git" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "doc_cfg", ] [[example]] name = "list_displays_async" path = "examples/list_displays_async.rs" required-features = ["async"] [[example]] name = "set_brightness_async" path = "examples/set_brightness_async.rs" required-features = ["async"] [dependencies.async-trait] version = "0.1.57" optional = true [dependencies.blocking] version = "1.2.0" optional = true [dependencies.cfg-if] version = "1.0.0" [dependencies.futures] version = "0.3.24" optional = true [dependencies.itertools] version = "0.10.3" [dependencies.thiserror] version = "1.0.34" [features] async = [ "async-trait", "futures", "blocking", ] default = ["async"] [target."cfg(target_os = \"linux\")".dependencies.zbus] version = "3.1.0" [target."cfg(windows)".dependencies.windows] version = "0.39.0" features = [ "Win32_Foundation", "Win32_Devices_Display", "Win32_Graphics_Gdi", "Win32_Storage_FileSystem", "Win32_Security", "Win32_System_IO", "Win32_UI_WindowsAndMessaging", "Win32_System_SystemServices", ]