[package]
name = "crypto-bigint"
version = "0.3.2"
description = """
Pure Rust implementation of a big integer library which has been designed from
the ground-up for use in cryptographic applications. Provides constant-time,
no_std-friendly implementations of modern formulas using const generics.
"""
authors = ["RustCrypto Developers"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/RustCrypto/crypto-bigint"
categories = ["algorithms", "cryptography", "data-structures", "mathematics", "no-std"]
keywords = ["arbitrary", "crypto", "bignum", "integer", "precision"]
readme = "README.md"
resolver = "2"
edition = "2021"
rust-version = "1.56"
[dependencies]
subtle = { version = "2.4", default-features = false }
generic-array = { version = "0.14", optional = true }
rand_core = { version = "0.6", optional = true }
rlp = { version = "0.5", optional = true, default-features = false }
zeroize = { version = "1", optional = true, default-features = false }
[dev-dependencies]
hex-literal = "0.3"
num-bigint = "0.4"
num-traits = "0.2"
proptest = "1"
rand_core = { version = "0.6", features = ["std"] }
rand_chacha = "0.3"
[features]
default = ["rand"]
alloc = []
rand = ["rand_core/std"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]