| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.60" |
| 15 |
name = "num-bigint" |
| 16 |
version = "0.4.8" |
| 17 |
authors = ["The Rust Project Developers"] |
| 18 |
build = false |
| 19 |
exclude = [ |
| 20 |
"/ci/*", |
| 21 |
"/.github/*", |
| 22 |
] |
| 23 |
autolib = false |
| 24 |
autobins = false |
| 25 |
autoexamples = false |
| 26 |
autotests = false |
| 27 |
autobenches = false |
| 28 |
description = "Big integer implementation for Rust" |
| 29 |
homepage = "https://github.com/rust-num/num-bigint" |
| 30 |
documentation = "https://docs.rs/num-bigint" |
| 31 |
readme = "README.md" |
| 32 |
keywords = [ |
| 33 |
"mathematics", |
| 34 |
"numerics", |
| 35 |
"bignum", |
| 36 |
] |
| 37 |
categories = [ |
| 38 |
"algorithms", |
| 39 |
"data-structures", |
| 40 |
"science", |
| 41 |
] |
| 42 |
license = "MIT OR Apache-2.0" |
| 43 |
repository = "https://github.com/rust-num/num-bigint" |
| 44 |
|
| 45 |
[package.metadata.docs.rs] |
| 46 |
features = [ |
| 47 |
"std", |
| 48 |
"serde", |
| 49 |
"rand", |
| 50 |
"quickcheck", |
| 51 |
"arbitrary", |
| 52 |
] |
| 53 |
rustdoc-args = [ |
| 54 |
"--cfg", |
| 55 |
"docsrs", |
| 56 |
] |
| 57 |
|
| 58 |
[features] |
| 59 |
arbitrary = ["dep:arbitrary"] |
| 60 |
default = ["std"] |
| 61 |
quickcheck = ["dep:quickcheck"] |
| 62 |
rand = ["dep:rand"] |
| 63 |
serde = ["dep:serde"] |
| 64 |
std = [ |
| 65 |
"num-integer/std", |
| 66 |
"num-traits/std", |
| 67 |
] |
| 68 |
|
| 69 |
[lib] |
| 70 |
name = "num_bigint" |
| 71 |
path = "src/lib.rs" |
| 72 |
|
| 73 |
[[test]] |
| 74 |
name = "bigint" |
| 75 |
path = "tests/bigint.rs" |
| 76 |
|
| 77 |
[[test]] |
| 78 |
name = "bigint_bitwise" |
| 79 |
path = "tests/bigint_bitwise.rs" |
| 80 |
|
| 81 |
[[test]] |
| 82 |
name = "bigint_scalar" |
| 83 |
path = "tests/bigint_scalar.rs" |
| 84 |
|
| 85 |
[[test]] |
| 86 |
name = "biguint" |
| 87 |
path = "tests/biguint.rs" |
| 88 |
|
| 89 |
[[test]] |
| 90 |
name = "biguint_scalar" |
| 91 |
path = "tests/biguint_scalar.rs" |
| 92 |
|
| 93 |
[[test]] |
| 94 |
name = "fuzzed" |
| 95 |
path = "tests/fuzzed.rs" |
| 96 |
|
| 97 |
[[test]] |
| 98 |
name = "modpow" |
| 99 |
path = "tests/modpow.rs" |
| 100 |
|
| 101 |
[[test]] |
| 102 |
name = "roots" |
| 103 |
path = "tests/roots.rs" |
| 104 |
|
| 105 |
[[bench]] |
| 106 |
name = "bigint" |
| 107 |
path = "benches/bigint.rs" |
| 108 |
|
| 109 |
[[bench]] |
| 110 |
name = "factorial" |
| 111 |
path = "benches/factorial.rs" |
| 112 |
|
| 113 |
[[bench]] |
| 114 |
name = "gcd" |
| 115 |
path = "benches/gcd.rs" |
| 116 |
|
| 117 |
[[bench]] |
| 118 |
name = "roots" |
| 119 |
path = "benches/roots.rs" |
| 120 |
|
| 121 |
[[bench]] |
| 122 |
name = "shootout-pidigits" |
| 123 |
path = "benches/shootout-pidigits.rs" |
| 124 |
harness = false |
| 125 |
|
| 126 |
[dependencies.arbitrary] |
| 127 |
version = "1" |
| 128 |
optional = true |
| 129 |
default-features = false |
| 130 |
|
| 131 |
[dependencies.num-integer] |
| 132 |
version = "0.1.46" |
| 133 |
features = ["i128"] |
| 134 |
default-features = false |
| 135 |
|
| 136 |
[dependencies.num-traits] |
| 137 |
version = "0.2.18" |
| 138 |
features = ["i128"] |
| 139 |
default-features = false |
| 140 |
|
| 141 |
[dependencies.quickcheck] |
| 142 |
version = "1" |
| 143 |
optional = true |
| 144 |
default-features = false |
| 145 |
|
| 146 |
[dependencies.rand] |
| 147 |
version = "0.8" |
| 148 |
optional = true |
| 149 |
default-features = false |
| 150 |
|
| 151 |
[dependencies.serde] |
| 152 |
version = "1.0" |
| 153 |
optional = true |
| 154 |
default-features = false |