Skip to content

Commit

Permalink
cargo: deny allow attribute, unsafe op in fn (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheButlah authored Oct 5, 2024
1 parent 31024c1 commit 25a6d84
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions did-simple/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
//! [spec]: https://www.w3.org/TR/did-core/
#![cfg_attr(not(feature = "allow-unsafe"), forbid(unsafe_code))]
#![deny(clippy::allow_attributes, unsafe_op_in_unsafe_fn)]

use std::str::FromStr;

Expand Down
1 change: 1 addition & 0 deletions header-parsing/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#![forbid(unsafe_code)]
#![deny(clippy::allow_attributes, unsafe_op_in_unsafe_fn)]

use http::header::{AGE, CACHE_CONTROL};
use std::time::Duration;
Expand Down
3 changes: 3 additions & 0 deletions identity-server/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#![forbid(unsafe_code)]
#![deny(clippy::allow_attributes, unsafe_op_in_unsafe_fn)]

pub mod config;
pub mod jwk;
pub mod jwks_provider;
Expand Down

0 comments on commit 25a6d84

Please sign in to comment.