Skip to content

Commit

Permalink
add allow_dead_code
Browse files Browse the repository at this point in the history
  • Loading branch information
radumarias committed Jun 5, 2024
1 parent e04cdd1 commit e8824ad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rencrypt"
version = "0.3.7"
version = "0.3.8"
edition = "2021"

[lib]
Expand Down
1 change: 1 addition & 0 deletions src/cipher.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
use std::io;

#[allow(dead_code)]
trait Cipher {
fn seal_in_place<'a>(plaintext: &'a mut [u8], block_index: Option<u64>, aad: Option<&[u8]>, nonce: Option<&[u8]>,
tag_out: &mut [u8], nonce_out: Option<&mut [u8]>) -> io::Result<&'a [u8]>;
Expand Down

0 comments on commit e8824ad

Please sign in to comment.