178 lines
3.1 KiB
TOML
178 lines
3.1 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2021"
|
|
rust-version = "1.56"
|
|
name = "num-bigint-dig"
|
|
version = "0.8.6"
|
|
authors = [
|
|
"dignifiedquire <dignifiedquire@gmail.com>",
|
|
"The Rust Project Developers",
|
|
]
|
|
build = "build.rs"
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Big integer implementation for Rust"
|
|
homepage = "https://github.com/dignifiedquire/num-bigint"
|
|
documentation = "https://docs.rs/num-bigint-dig"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"mathematics",
|
|
"numerics",
|
|
"bignum",
|
|
]
|
|
categories = [
|
|
"algorithms",
|
|
"data-structures",
|
|
"science",
|
|
]
|
|
license = "MIT/Apache-2.0"
|
|
repository = "https://github.com/dignifiedquire/num-bigint"
|
|
|
|
[package.metadata.docs.rs]
|
|
features = [
|
|
"std",
|
|
"serde",
|
|
"rand",
|
|
"prime",
|
|
]
|
|
|
|
[features]
|
|
default = [
|
|
"std",
|
|
"u64_digit",
|
|
]
|
|
fuzz = [
|
|
"arbitrary",
|
|
"smallvec/arbitrary",
|
|
]
|
|
i128 = []
|
|
nightly = []
|
|
prime = ["rand/std_rng"]
|
|
std = [
|
|
"num-integer/std",
|
|
"num-traits/std",
|
|
"smallvec/write",
|
|
"rand/std",
|
|
"serde/std",
|
|
]
|
|
u64_digit = []
|
|
|
|
[lib]
|
|
name = "num_bigint_dig"
|
|
path = "src/lib.rs"
|
|
|
|
[[test]]
|
|
name = "bigint"
|
|
path = "tests/bigint.rs"
|
|
|
|
[[test]]
|
|
name = "bigint_bitwise"
|
|
path = "tests/bigint_bitwise.rs"
|
|
|
|
[[test]]
|
|
name = "bigint_scalar"
|
|
path = "tests/bigint_scalar.rs"
|
|
|
|
[[test]]
|
|
name = "biguint"
|
|
path = "tests/biguint.rs"
|
|
|
|
[[test]]
|
|
name = "biguint_scalar"
|
|
path = "tests/biguint_scalar.rs"
|
|
|
|
[[test]]
|
|
name = "modpow"
|
|
path = "tests/modpow.rs"
|
|
|
|
[[test]]
|
|
name = "rand"
|
|
path = "tests/rand.rs"
|
|
|
|
[[test]]
|
|
name = "roots"
|
|
path = "tests/roots.rs"
|
|
|
|
[[test]]
|
|
name = "serde"
|
|
path = "tests/serde.rs"
|
|
|
|
[[test]]
|
|
name = "torture"
|
|
path = "tests/torture.rs"
|
|
|
|
[dependencies.arbitrary]
|
|
version = "1.1.0"
|
|
optional = true
|
|
|
|
[dependencies.lazy_static]
|
|
version = "1.2.0"
|
|
features = ["spin_no_std"]
|
|
default-features = false
|
|
|
|
[dependencies.libm]
|
|
version = "0.2.1"
|
|
|
|
[dependencies.num-integer]
|
|
version = "0.1.39"
|
|
features = ["i128"]
|
|
default-features = false
|
|
|
|
[dependencies.num-iter]
|
|
version = "0.1.37"
|
|
default-features = false
|
|
|
|
[dependencies.num-traits]
|
|
version = "0.2.4"
|
|
features = ["i128"]
|
|
default-features = false
|
|
|
|
[dependencies.rand]
|
|
version = "0.8.3"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.serde]
|
|
version = "1.0"
|
|
features = ["alloc"]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.smallvec]
|
|
version = "1.10.0"
|
|
default-features = false
|
|
|
|
[dependencies.zeroize]
|
|
version = "1.5"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dev-dependencies.rand]
|
|
version = "0.8"
|
|
features = ["small_rng"]
|
|
|
|
[dev-dependencies.rand_chacha]
|
|
version = "0.3"
|
|
|
|
[dev-dependencies.rand_isaac]
|
|
version = "0.3"
|
|
|
|
[dev-dependencies.rand_xorshift]
|
|
version = "0.3"
|
|
|
|
[dev-dependencies.serde_test]
|
|
version = "1.0"
|