Skip to content

Commit e8aab6c

Browse files
chrisduerrvberger
authored andcommitted
Update nix and memmap2 dependencies
1 parent 0ed4925 commit e8aab6c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ readme = "README.md"
1313

1414
[dependencies]
1515
bitflags = "1.0"
16-
nix = "0.18"
16+
nix = "0.19"
1717
dlib = "0.4"
1818
lazy_static = "1.0"
19-
memmap2 = "0.1.0"
19+
memmap2 = "0.2.0"
2020
andrew = { version = "0.3.0", optional = true }
2121
log = "0.4"
2222
wayland-client = "0.28"

examples/image_viewer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ fn main() {
3030
}
3131
};
3232
// We'll need the image in RGBA for drawing it
33-
let image = image.to_rgba();
33+
let image = image.to_rgba8();
3434

3535
/*
3636
* Initalize the wayland connection

0 commit comments

Comments
 (0)