Skip to content

Commit

Permalink
DPI version 0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kchibisov committed Mar 15, 2024
1 parent 975cf06 commit c10f9c3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ cfg_aliases = "0.2.0"
[dependencies]
bitflags = "2"
cursor-icon = "1.1.0"
dpi = { version = "0.1.1", path = "dpi" }
rwh_04 = { package = "raw-window-handle", version = "0.4", optional = true }
rwh_05 = { package = "raw-window-handle", version = "0.5.2", features = ["std"], optional = true }
rwh_06 = { package = "raw-window-handle", version = "0.6", features = ["std"], optional = true }
serde = { workspace = true, optional = true }
smol_str = "0.2.0"
dpi = { path = "dpi" }
tracing = { version = "0.1.40", default_features = false }

[dev-dependencies]
Expand Down
6 changes: 4 additions & 2 deletions dpi/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ PR's changelog entry would go into the wrong section).
And please only add new entries to the top of this list, right below the `#
Unreleased` header.

# Unreleased
## Unreleased

## 0.1.1

- Derive `Debug`, `Copy`, `Clone`, `PartialEq`, `Serialize`, `Deserialize` traits for `PixelUnit`.

# 0.1.0
## 0.1.0

- Add `LogicalUnit`, `PhysicalUnit` and `PixelUnit` types and related functions.
2 changes: 1 addition & 1 deletion dpi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dpi"
version = "0.1.0"
version = "0.1.1"
description = "Types for handling UI scaling"
keywords = ["DPI", "HiDPI", "scale-factor"]
categories = ["gui"]
Expand Down

0 comments on commit c10f9c3

Please sign in to comment.