daxpedda
2665c12098
Rustfmt: use group_imports
2024-07-07 18:38:50 +02:00
Kirill Chibisov
7b0c7b6cb2
chore(rustfmt): use nightly ( #2325 )
...
Stable rustfmt lacks a lot of features resulting in worse formatted
code, thus use nightly formatter.
2024-04-26 17:11:44 +02:00
amrbashir
8e69a8fa40
dpi: derive common traits for PixelUnit
...
Derive `Debug`, `Copy`, `Clone` , `PartialEq`, `Serialize`,
`Deserialize` for `PixelUnit`, which follows other types in dpi crate.
2024-03-15 17:57:55 +04:00
Kirill Chibisov
249d5d8bff
bugfix(dpi): PhysicalUnit::to_logical computation
...
The conversion of PhysicalUnit was wrongly computed and the tests were
not running on the CI for the dpi crate, thus it was missed, even though
the test was correctly failing.
Signed-off-by: John Nunley <dev@notgull.net>
Signed-off-by: Kirill Chibisov <contact@kchibisov.com>
2024-03-13 12:58:39 +04:00
amrbashir
563b0bf5e3
dpi: add LogicalUnit, PhysicalUnit, and Unit
...
Part-off: https://github.com/rust-windowing/winit/issues/2395
2024-03-08 21:15:27 +04:00
Mads Marquart
e41f0eabb1
Split dpi module out into a separate crate ( #3518 )
...
Co-authored-by: John Nunley <dev@notgull.net>
2024-02-26 14:52:00 +01:00