# 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.70.0" name = "dpi" version = "0.1.1" description = "Types for handling UI scaling" keywords = [ "DPI", "HiDPI", "scale-factor", ] categories = ["gui"] license = "Apache-2.0" repository = "https://github.com/rust-windowing/winit" [package.metadata.docs.rs] features = [ "serde", "mint", ] rustdoc-args = [ "--cfg", "docsrs", ] targets = [ "i686-pc-windows-msvc", "x86_64-pc-windows-msvc", "x86_64-apple-darwin", "i686-unknown-linux-gnu", "x86_64-unknown-linux-gnu", "x86_64-apple-ios", "aarch64-linux-android", "wasm32-unknown-unknown", ] [dependencies.mint] version = "0.5.6" optional = true [dependencies.serde] version = "1" features = ["serde_derive"] optional = true [features] mint = ["dep:mint"] serde = ["dep:serde"]