From 0669c1b0a132b09d7f1ac2a096b4ec3e22a0cbf6 Mon Sep 17 00:00:00 2001 From: Erik Takke Date: Wed, 16 Oct 2024 12:05:32 +0200 Subject: [PATCH] Feature lock `Int::rand` --- src/int.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/int.rs b/src/int.rs index 031a4fd9..3f0c6489 100644 --- a/src/int.rs +++ b/src/int.rs @@ -19,9 +19,11 @@ mod div; mod encoding; mod expand; mod mul; -mod rand; mod sub; +#[cfg(feature = "rand_core")] +mod rand; + /// Stack-allocated big _signed_ integer. /// See [`Uint`] for _unsigned_ integers. ///