crypto: Add rustfmt::skip attributes

In preparation for formatting the `crypto` module add a couple of `skip`
attributes to keep arrays formatted 8 bytes per line.
This commit is contained in:
Tobin C. Harding 2022-12-02 14:44:31 +11:00
parent 450a84f6e8
commit 314e6786b4
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 2 additions and 0 deletions

View File

@ -835,6 +835,7 @@ mod tests {
9b6347398505f5ec93826dc61c19f47c66c0283ee9be980e29ce325a0f4679ef\ 9b6347398505f5ec93826dc61c19f47c66c0283ee9be980e29ce325a0f4679ef\
87288ed73ce47fc4f5c79d19ebfa57da7cff3aff6e819e4ee971d86b5e61875d\ 87288ed73ce47fc4f5c79d19ebfa57da7cff3aff6e819e4ee971d86b5e61875d\
"; ";
#[rustfmt::skip]
static PK_BYTES: [u8; 33] = [ static PK_BYTES: [u8; 33] = [
0x03, 0x03,
0x9b, 0x63, 0x47, 0x39, 0x85, 0x05, 0xf5, 0xec, 0x9b, 0x63, 0x47, 0x39, 0x85, 0x05, 0xf5, 0xec,
@ -842,6 +843,7 @@ mod tests {
0x66, 0xc0, 0x28, 0x3e, 0xe9, 0xbe, 0x98, 0x0e, 0x66, 0xc0, 0x28, 0x3e, 0xe9, 0xbe, 0x98, 0x0e,
0x29, 0xce, 0x32, 0x5a, 0x0f, 0x46, 0x79, 0xef, 0x29, 0xce, 0x32, 0x5a, 0x0f, 0x46, 0x79, 0xef,
]; ];
#[rustfmt::skip]
static PK_BYTES_U: [u8; 65] = [ static PK_BYTES_U: [u8; 65] = [
0x04, 0x04,
0x9b, 0x63, 0x47, 0x39, 0x85, 0x05, 0xf5, 0xec, 0x9b, 0x63, 0x47, 0x39, 0x85, 0x05, 0xf5, 0xec,