[dependencies.mint]
optional = true
version = "0.5.6"
[dependencies.serde]
features = ["serde_derive"]
optional = true
version = "1"
[features]
mint = ["dep:mint"]
serde = ["dep:serde"]
[package]
categories = ["gui"]
description = "Types for handling UI scaling"
edition = "2021"
keywords = ["DPI", "HiDPI", "scale-factor"]
license = "Apache-2.0"
name = "dpi"
repository = "https://github.com/rust-windowing/winit"
rust-version = "1.70.0"
version = "0.1.1"
[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"]