diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-19 09:25:56 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-19 09:25:56 +0000 |
commit | 018c4950b9406055dec02ef0fb52f132e2bb1e2c (patch) | |
tree | a835ebdf2088ef88fa681f8fad45f09922c1ae9a /vendor/crypto-bigint/src/lib.rs | |
parent | Adding debian version 1.75.0+dfsg1-5. (diff) | |
download | rustc-018c4950b9406055dec02ef0fb52f132e2bb1e2c.tar.xz rustc-018c4950b9406055dec02ef0fb52f132e2bb1e2c.zip |
Merging upstream version 1.76.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/crypto-bigint/src/lib.rs')
-rw-r--r-- | vendor/crypto-bigint/src/lib.rs | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/vendor/crypto-bigint/src/lib.rs b/vendor/crypto-bigint/src/lib.rs index 0a790c8dc..6decb177b 100644 --- a/vendor/crypto-bigint/src/lib.rs +++ b/vendor/crypto-bigint/src/lib.rs @@ -151,14 +151,18 @@ //! [`Rem`]: core::ops::Rem //! [`Sub`]: core::ops::Sub -#[cfg(all(feature = "alloc", test))] +#[cfg(feature = "alloc")] +#[allow(unused_imports)] +#[macro_use] extern crate alloc; #[macro_use] -mod nlimbs; +mod macros; #[cfg(feature = "generic-array")] mod array; +#[cfg(feature = "alloc")] +mod boxed; mod checked; mod ct_choice; mod limb; @@ -179,6 +183,9 @@ pub use crate::{ }; pub use subtle; +#[cfg(feature = "alloc")] +pub use crate::boxed::uint::BoxedUint; + #[cfg(feature = "generic-array")] pub use { crate::array::{ArrayDecoding, ArrayEncoding, ByteArray}, |