rust-bigint

Crates.iorust-bigint
lib.rsrust-bigint
version1.2.0
sourcesrc
created_at2020-09-21 23:03:14.482778
updated_at2021-09-16 14:32:56.345448
descriptionCommon traits and methods for multiple BigInt implementations
homepage
repositoryhttps://github.com/nash-io/rust-bigint
max_upload_size
id291344
size33,001
Danilo Guanabara (notdanilo)

documentation

README

rust-bigint

Provides traits for common functionality across several Rust BigInt implementations

Example interaction:

// import BigInt from this library. use a feature flag to select the BigInt you need
// also, pull one or more traits from this library into scope
use rust_bigint::BigInt;
use rust_bigint::traits::Converter;
 
let number = BigInt::from(42);
// now use one of the methods exposed by the converter trait
let hex_str = number.to_hex();

See the traits for more examples.

Commit count: 14

cargo fmt