Skip to content

Commit

Permalink
feat: Warn when unwrap is used
Browse files Browse the repository at this point in the history
  • Loading branch information
threema-donat committed Apr 26, 2024
1 parent e53715c commit 8fabb9e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@
//! }
//! # }
//! ```
#![warn(clippy::unwrap_used)]

#[cfg(not(any(feature = "openssl", feature = "ring")))]
compile_error!("either feature \"openssl\" or feature \"ring\" has to be enabled");

Expand Down

0 comments on commit 8fabb9e

Please sign in to comment.