# 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" rust-version = "1.73" name = "dpi" version = "0.1.2" build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Types for handling UI scaling" readme = "README.md" keywords = [ "DPI", "HiDPI", "scale-factor", ] categories = ["gui"] license = "Apache-2.0 AND MIT" repository = "https://github.com/rust-windowing/winit" [package.metadata.docs.rs] features = [ "mint", "serde", ] rustdoc-args = [ "--cfg", "docsrs", ] targets = [ "i686-pc-windows-msvc", "x86_64-pc-windows-msvc", "aarch64-apple-darwin", "x86_64-apple-darwin", "i686-unknown-linux-gnu", "x86_64-unknown-linux-gnu", "aarch64-apple-ios", "aarch64-linux-android", "wasm32-unknown-unknown", ] [features] default = ["std"] mint = ["dep:mint"] serde = ["dep:serde"] std = [] [lib] name = "dpi" path = "src/lib.rs" [dependencies.mint] version = "0.5.6" optional = true [dependencies.serde] version = "1" features = ["serde_derive"] optional = true