Skip to content

Commit

Permalink
chore: added #![forbid(unsafe_code)] to the library (#722)
Browse files Browse the repository at this point in the history
The motivation is to make
[`cargo-geiger`](https://github.com/geiger-rs/cargo-geiger) be sure that
there is no unsafe code
  • Loading branch information
CommanderStorm authored Aug 22, 2024
1 parent 3f30ac8 commit 54aba45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions testcontainers/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#![warn(rust_2018_idioms)]
#![cfg_attr(docsrs, deny(rustdoc::broken_intra_doc_links))]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![forbid(unsafe_code)]

//! A library for integration testing against docker containers from within Rust.
//!
Expand Down

0 comments on commit 54aba45

Please sign in to comment.