Skip to content

Commit

Permalink
\#[forbid(unsafe)] for all crates
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Jul 1, 2020
1 parent 6794300 commit afda803
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions git-features/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![forbid(unsafe_code)]

pub mod hash;
pub mod parallel;
pub mod progress;
2 changes: 1 addition & 1 deletion git-odb/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![deny(unsafe_code)]
#![forbid(unsafe_code)]

mod zlib;

Expand Down
2 changes: 2 additions & 0 deletions git-transport/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![forbid(unsafe_code)]

#[cfg(test)]
mod tests {
#[test]
Expand Down
2 changes: 2 additions & 0 deletions gitoxide-core/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![forbid(unsafe_code)]

use anyhow::{anyhow, Context, Result};
use bytesize::ByteSize;
use git_features::progress::Progress;
Expand Down

0 comments on commit afda803

Please sign in to comment.