File: Cargo.toml

package info (click to toggle)
rust-dpi 0.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 128 kB
  • sloc: makefile: 4
file content (58 lines) | stat: -rw-r--r-- 1,300 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# 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"]