Skip to content

Commit 230a86f

Browse files
committed
Update dependence to nix 0.14
1 parent 47aad16 commit 230a86f

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
@@ -1,6 +1,6 @@
11
[package]
22
name = "gpio-cdev"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
authors = ["Paul Osborne <[email protected]>", "Frank Pagliughi <[email protected]>"]
55
description = "Linux GPIO Character Device Support (/dev/gpiochipN)"
66
homepage = "https://github.com/posborne/rust-gpio-cdev"
@@ -14,7 +14,7 @@ license = "MIT OR Apache-2.0"
1414
bitflags = "1.0"
1515
error-chain = "0.12"
1616
libc = "0.2"
17-
nix = "0.11"
17+
nix = "0.14"
1818

1919
[dev-dependencies]
2020
quicli = "0.2"

examples/monitor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use quicli::prelude::*;
1515
use nix::poll::*;
1616
use std::os::unix::io::{AsRawFd};
1717

18-
type PollEventFlags = nix::poll::EventFlags;
18+
type PollEventFlags = nix::poll::PollFlags;
1919

2020
#[derive(Debug, StructOpt)]
2121
struct Cli {

0 commit comments

Comments
 (0)