diff options
| author | Robin Krahl <robin.krahl@ireas.org> | 2018-12-16 12:24:50 +0100 |
|---|---|---|
| committer | Robin Krahl <robin.krahl@ireas.org> | 2018-12-16 12:24:50 +0100 |
| commit | 56abf0719b895c57b068b5859e719cc87dfda386 (patch) | |
| tree | facd14c23d3c3823ac85863bd12f0098c7fec567 | |
| parent | 45b1eec5db3939229f9f3b0a06cd770a396f18e3 (diff) | |
| download | nitrokey-sys-rs-56abf0719b895c57b068b5859e719cc87dfda386.tar.gz nitrokey-sys-rs-56abf0719b895c57b068b5859e719cc87dfda386.tar.bz2 | |
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.
| -rw-r--r-- | Cargo.toml | 1 | ||||
| -rw-r--r-- | src/lib.rs | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -2,6 +2,7 @@ name = "nitrokey-sys" version = "3.4.1" authors = ["Robin Krahl <robin.krahl@ireas.org>"] +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" @@ -4,7 +4,7 @@ mod ffi; -pub use ffi::*; +pub use crate::ffi::*; #[cfg(test)] mod tests { |
