WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 0ba3c98

Browse files
authored
kem: re-export typenum::consts (#2058)
Access to typenum constants is needed to impl `KeySizeUser`
1 parent d4e2095 commit 0ba3c98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kem/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#![forbid(unsafe_code)]
99
#![warn(missing_docs, unused_qualifications, missing_debug_implementations)]
1010

11-
pub use crypto_common::{KeyInit, KeySizeUser};
11+
pub use crypto_common::{KeyInit, KeySizeUser, typenum::consts};
1212

1313
use core::fmt::Debug;
1414
use rand_core::TryCryptoRng;

0 commit comments

Comments
 (0)