mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 04:04:55 +08:00
chore: add #[forbid(unsafe_code)] to all crates (#131)
This commit is contained in:
@ -1,3 +1,4 @@
|
|||||||
|
#![forbid(unsafe_code)]
|
||||||
pub mod admin;
|
pub mod admin;
|
||||||
pub mod bank_accounts;
|
pub mod bank_accounts;
|
||||||
pub mod cards;
|
pub mod cards;
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
#![forbid(unsafe_code)]
|
||||||
#![warn(
|
#![warn(
|
||||||
missing_docs,
|
missing_docs,
|
||||||
rust_2018_idioms,
|
rust_2018_idioms,
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
#![forbid(unsafe_code)]
|
||||||
// TODO: Add crate & modules documentation for this crate
|
// TODO: Add crate & modules documentation for this crate
|
||||||
|
|
||||||
pub mod commands;
|
pub mod commands;
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
#![forbid(unsafe_code)]
|
||||||
// FIXME: I strongly advise to add this worning.
|
// FIXME: I strongly advise to add this worning.
|
||||||
// #![warn(missing_docs)]
|
// #![warn(missing_docs)]
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
//! Utility macros for the `router` crate.
|
//! Utility macros for the `router` crate.
|
||||||
|
#![forbid(unsafe_code)]
|
||||||
#![warn(missing_docs)]
|
#![warn(missing_docs)]
|
||||||
|
|
||||||
mod macros;
|
mod macros;
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
#![forbid(unsafe_code)]
|
||||||
#![warn(
|
#![warn(
|
||||||
missing_docs,
|
missing_docs,
|
||||||
rust_2018_idioms,
|
rust_2018_idioms,
|
||||||
|
|||||||
Reference in New Issue
Block a user