From 45bf56dd2fd4cd8221cd33e78d5932d603127c60 Mon Sep 17 00:00:00 2001 From: Rafael Szydelko <70408499+crochethk@users.noreply.github.com> Date: Wed, 24 Jul 2024 21:56:56 +0200 Subject: [PATCH] Add rexport of `mpint!` macro --- src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 89f87f6..0cead16 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,6 +6,10 @@ pub mod mp_int { //! This module implements the data structure and various operations for //! arbitrary sized integers. //! + + // allows importing the macro more conveniently + pub use crate::mpint; + use crate::utils::{add_with_carry, div_with_rem, parse_to_digits, ParseError}; use std::{ cmp::Ordering,