uint icon indicating copy to clipboard operation
uint copied to clipboard

Rust Uint crate using const-generics

Results 107 uint issues
Sort by recently updated
recently updated
newest added

*On 2023-07-29 @prestwich wrote in [`aaa37d2`](https://github.com/recmo/uint/commit/aaa37d2268b1a8996499953c84cf4f23474b1a67) “Merge pull request #277 from DaniPopes/no_alloc”:* Make mul_redc alloc-free ```rust mod add; pub mod div; mod gcd; mod mul; #[cfg(feature = "alloc")] // TODO:...

tracker
to do

*On 2023-07-29 @prestwich wrote in [`aaa37d2`](https://github.com/recmo/uint/commit/aaa37d2268b1a8996499953c84cf4f23474b1a67) “Merge pull request #277 from DaniPopes/no_alloc”:* Make mul_redc alloc-free ```rust /// /// # Panics /// /// Panics if `inv` is not correct. #[must_use] #[cfg(feature...

tracker
to do

*On 2023-07-29 @prestwich wrote in [`aaa37d2`](https://github.com/recmo/uint/commit/aaa37d2268b1a8996499953c84cf4f23474b1a67) “Merge pull request #277 from DaniPopes/no_alloc”:* Use a `const {}` block for this assertion ```rust /// Panics if the value is too large for...

tracker
to do

*On 2023-07-29 @prestwich wrote in [`aaa37d2`](https://github.com/recmo/uint/commit/aaa37d2268b1a8996499953c84cf4f23474b1a67) “Merge pull request #277 from DaniPopes/no_alloc”:* Use a `const {}` block for this assertion ```rust /// Panics if the value is too large for...

tracker
to do

*On 2023-07-29 @prestwich wrote in [`aaa37d2`](https://github.com/recmo/uint/commit/aaa37d2268b1a8996499953c84cf4f23474b1a67) “Merge pull request #277 from DaniPopes/no_alloc”:* Use a `const {}` block for this assertion ```rust /// Rust issue [#60551]. /// /// [#60551]: https://github.com/rust-lang/rust/issues/60551 #[must_use]...

tracker
to do

At some size of `Uint`, the recursion in `from_base_le` will cause stack overflows even for valid iterator sizes. This does not happen in `from_base_be`, as it does not recurse for...

enhancement
good first issue

as of #277 `from_base_le` uses recursion to stack allocate the contents of an iterator. However, there's no check on the recursion depth, allowing arbitrary-length iterators to be unpacked onto the...

enhancement
good first issue

*On 2023-07-24 @prestwich wrote in [`fdf65e6`](https://github.com/recmo/uint/commit/fdf65e6825d2cef2dc4470e194ada347197bff2a) “Merge pull request #266 from alloy-rs/dani/ark”:* Implement the `BigInteger` trait. ```rust biginteger::BigInt, fields::models::{Fp, FpConfig}, PrimeField, }; // FEATURE: Implement the `BigInteger` trait. // BigInt...

tracker
feature

Hi @recmo are you open to replacing current `B` types that are aliases for `U` with [u8;32], we will do the legwork if you approve it. Current B types in...

*On 2023-05-11 @prestwich wrote in [`d6f8288`](https://github.com/recmo/uint/commit/d6f82881f23009beb5e353c797363bb9889651e2) “Merge pull request #239 from recmo/dependabot/cargo/fastrlp-0.3.1”:* I0, I1, I8, ... I4096 ```rust U1024 B1024 (1024, 16); U2048 B2048 (2048, 32); U4096 B4096 (4096, 64);...

tracker
to do