From 230a86f651c41d276b02631c80aeec4a4edfd1aa Mon Sep 17 00:00:00 2001 From: Craig Bidstrup Date: Wed, 29 May 2019 12:21:52 +0100 Subject: [PATCH] Update dependence to nix 0.14 --- Cargo.toml | 4 ++-- examples/monitor.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 08953db..a24938a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gpio-cdev" -version = "0.2.0" +version = "0.2.1" authors = ["Paul Osborne ", "Frank Pagliughi "] description = "Linux GPIO Character Device Support (/dev/gpiochipN)" homepage = "https://github.com/posborne/rust-gpio-cdev" @@ -14,7 +14,7 @@ license = "MIT OR Apache-2.0" bitflags = "1.0" error-chain = "0.12" libc = "0.2" -nix = "0.11" +nix = "0.14" [dev-dependencies] quicli = "0.2" diff --git a/examples/monitor.rs b/examples/monitor.rs index 317b95e..672e8b1 100644 --- a/examples/monitor.rs +++ b/examples/monitor.rs @@ -15,7 +15,7 @@ use quicli::prelude::*; use nix::poll::*; use std::os::unix::io::{AsRawFd}; -type PollEventFlags = nix::poll::EventFlags; +type PollEventFlags = nix::poll::PollFlags; #[derive(Debug, StructOpt)] struct Cli {