File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 6
6
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/8f1a9894/logo.svg"
7
7
) ]
8
8
#![ forbid( unsafe_code) ]
9
- #![ warn( clippy:: unwrap_used, missing_docs, rust_2018_idioms) ]
9
+ #![ warn(
10
+ clippy:: unwrap_used,
11
+ missing_docs,
12
+ rust_2018_idioms,
13
+ missing_debug_implementations
14
+ ) ]
10
15
11
16
#[ cfg( feature = "alloc" ) ]
12
17
extern crate alloc;
@@ -472,6 +477,7 @@ impl<Alg: AeadInPlace> AeadMutInPlace for Alg {
472
477
/// If you don't care about AAD, you can pass a `&[u8]` as the payload to
473
478
/// `encrypt`/`decrypt` and it will automatically be coerced to this type.
474
479
#[ cfg( feature = "alloc" ) ]
480
+ #[ derive( Debug ) ]
475
481
pub struct Payload < ' msg , ' aad > {
476
482
/// Message to be encrypted/decrypted
477
483
pub msg : & ' msg [ u8 ] ,
Original file line number Diff line number Diff line change @@ -199,6 +199,7 @@ macro_rules! impl_stream_object {
199
199
#[ doc = "[Online Authenticated-Encryption and its Nonce-Reuse Misuse-Resistance][1]." ]
200
200
#[ doc = "" ]
201
201
#[ doc = "[1]: https://eprint.iacr.org/2015/189.pdf" ]
202
+ #[ derive( Debug ) ]
202
203
pub struct $name<A , S >
203
204
where
204
205
A : AeadInPlace ,
@@ -361,6 +362,7 @@ impl_stream_object!(
361
362
/// the last 5-bytes of the AEAD nonce.
362
363
///
363
364
/// [1]: https://eprint.iacr.org/2015/189.pdf
365
+ #[ derive( Debug ) ]
364
366
pub struct StreamBE32 < A >
365
367
where
366
368
A : AeadInPlace ,
@@ -450,6 +452,7 @@ where
450
452
/// when interpreted as a 32-bit integer.
451
453
///
452
454
/// The 31-bit + 1-bit value is stored as the last 4 bytes of the AEAD nonce.
455
+ #[ derive( Debug ) ]
453
456
pub struct StreamLE31 < A >
454
457
where
455
458
A : AeadInPlace ,
You can’t perform that action at this time.
0 commit comments