summaryrefslogtreecommitdiffstats
path: root/vendor/crypto-bigint/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/crypto-bigint/src/lib.rs')
-rw-r--r--vendor/crypto-bigint/src/lib.rs11
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},