diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2018-12-16 12:28:26 +0100 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2018-12-16 12:28:26 +0100 |
commit | cd3ffc6114661040e1989016588990ba8d662504 (patch) | |
tree | 851457469eff7e70ab777342eb3f25f46e2a6994 /src | |
parent | d1a5e9f9547d804fb329dc41c5f5e0ce287e2215 (diff) | |
download | nitrokey-rs-cd3ffc6114661040e1989016588990ba8d662504.tar.gz nitrokey-rs-cd3ffc6114661040e1989016588990ba8d662504.tar.bz2 |
Enable additional compiler warnings
This patch enables the following compiler warnings:
- missing_docs for public symbols without documentation
- rust_2018_compatibility for Rust edition 2018 support
- rust_2018_idioms for Rust edition 2018 support
- unused for different types of unused code
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -84,6 +84,13 @@ //! [`DeviceWrapper`]: enum.DeviceWrapper.html //! [`User`]: struct.User.html +#![warn( + missing_docs, + rust_2018_compatibility, + rust_2018_idioms, + unused, +)] + extern crate libc; extern crate nitrokey_sys; extern crate rand; |