num-primes 0.3.0

A Rust Library For Generating Large Prime and Composite Numbers using num with a simplistic interface.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use num_bigint::{BigInt, BigUint, ToBigInt, ToBigUint};
use num_primes::Generator;

#[test]
fn calling_gets_biguint_with_random() {
  let p = Generator::new_prime(512);
  
  gets_biguint(&p); // generates the error
}

fn gets_biguint(x: &BigUint) {
    
}