From 56abf0719b895c57b068b5859e719cc87dfda386 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Sun, 16 Dec 2018 12:24:50 +0100 Subject: Update to Rust edition 2018 This patch updates the crate to use Rust edition 2018. It also changes the use statement for the ffi module to the new crate:: syntax. --- Cargo.toml | 1 + src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 2486b77..5cc844b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,7 @@ name = "nitrokey-sys" version = "3.4.1" authors = ["Robin Krahl "] +edition = "2018" homepage = "https://code.ireas.org/nitrokey-rs/" repository = "https://git.ireas.org/nitrokey-sys-rs/" description = "Low-level bindings to libnitrokey for communication with Nitrokey devices" diff --git a/src/lib.rs b/src/lib.rs index 169dac4..a179da8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,7 +4,7 @@ mod ffi; -pub use ffi::*; +pub use crate::ffi::*; #[cfg(test)] mod tests { -- cgit v1.2.1