chore(deps): upgrade RustCrypto stack to latest versions#25
Open
zonyitoo wants to merge 1 commit into
Open
GitHub Actions / clippy ubuntu-latest
succeeded
May 1, 2026 in 0s
clippy ubuntu-latest
1 warning
Details
Results
| Message level | Amount |
|---|---|
| Internal compiler error | 0 |
| Error | 0 |
| Warning | 1 |
| Note | 0 |
| Help | 0 |
Versions
- rustc 1.95.0 (59807616e 2026-04-14)
- cargo 1.95.0 (f2d3ce0bd 2026-03-21)
- clippy 0.1.95 (59807616e1 2026-04-14)
Annotations
Check warning on line 49 in src/v1/aeadcipher/mod.rs
github-actions / clippy ubuntu-latest
large size difference between variants
warning: large size difference between variants
--> src/v1/aeadcipher/mod.rs:31:1
|
31 | / enum AeadCipherVariant {
32 | | Aes128Gcm(Aes128Gcm),
33 | | Aes256Gcm(Aes256Gcm),
34 | | ChaCha20Poly1305(ChaCha20Poly1305),
... |
42 | | Aes128Ccm(Aes128Ccm),
| | -------------------- the second-largest variant contains at least 704 bytes
43 | | #[cfg(feature = "v1-aead-extra")]
44 | | Aes256Ccm(Aes256Ccm),
| | -------------------- the largest variant contains at least 960 bytes
... |
48 | | Sm4Ccm(Sm4Ccm),
49 | | }
| |_^ the entire enum is at least 976 bytes
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.95.0/index.html#large_enum_variant
= note: `#[warn(clippy::large_enum_variant)]` on by default
help: consider boxing the large fields or introducing indirection in some other way to reduce the total size of the enum
|
44 - Aes256Ccm(Aes256Ccm),
44 + Aes256Ccm(Box<Aes256Ccm>),
|
Loading