| 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.6" |
| 17 |
authors = ["The Rust Project Developers"] |
| 18 |
exclude = [ |
| 19 |
"/ci/*", |
| 20 |
"/.github/*", |
| 21 |
] |
| 22 |
description = "Big integer implementation for Rust" |
| 23 |
homepage = "https://github.com/rust-num/num-bigint" |
| 24 |
documentation = "https://docs.rs/num-bigint" |
| 25 |
readme = "README.md" |
| 26 |
keywords = [ |
| 27 |
"mathematics", |
| 28 |
"numerics", |
| 29 |
"bignum", |
| 30 |
] |
| 31 |
categories = [ |
| 32 |
"algorithms", |
| 33 |
"data-structures", |
| 34 |
"science", |
| 35 |
] |
| 36 |
license = "MIT OR Apache-2.0" |
| 37 |
repository = "https://github.com/rust-num/num-bigint" |
| 38 |
|
| 39 |
[package.metadata.docs.rs] |
| 40 |
features = [ |
| 41 |
"std", |
| 42 |
"serde", |
| 43 |
"rand", |
| 44 |
"quickcheck", |
| 45 |
"arbitrary", |
| 46 |
] |
| 47 |
rustdoc-args = [ |
| 48 |
"--cfg", |
| 49 |
"docsrs", |
| 50 |
] |
| 51 |
|
| 52 |
[[bench]] |
| 53 |
name = "bigint" |
| 54 |
|
| 55 |
[[bench]] |
| 56 |
name = "factorial" |
| 57 |
|
| 58 |
[[bench]] |
| 59 |
name = "gcd" |
| 60 |
|
| 61 |
[[bench]] |
| 62 |
name = "roots" |
| 63 |
|
| 64 |
[[bench]] |
| 65 |
name = "shootout-pidigits" |
| 66 |
harness = false |
| 67 |
|
| 68 |
[dependencies.arbitrary] |
| 69 |
version = "1" |
| 70 |
optional = true |
| 71 |
default-features = false |
| 72 |
|
| 73 |
[dependencies.num-integer] |
| 74 |
version = "0.1.46" |
| 75 |
features = ["i128"] |
| 76 |
default-features = false |
| 77 |
|
| 78 |
[dependencies.num-traits] |
| 79 |
version = "0.2.18" |
| 80 |
features = ["i128"] |
| 81 |
default-features = false |
| 82 |
|
| 83 |
[dependencies.quickcheck] |
| 84 |
version = "1" |
| 85 |
optional = true |
| 86 |
default-features = false |
| 87 |
|
| 88 |
[dependencies.rand] |
| 89 |
version = "0.8" |
| 90 |
optional = true |
| 91 |
default-features = false |
| 92 |
|
| 93 |
[dependencies.serde] |
| 94 |
version = "1.0" |
| 95 |
optional = true |
| 96 |
default-features = false |
| 97 |
|
| 98 |
[features] |
| 99 |
arbitrary = ["dep:arbitrary"] |
| 100 |
default = ["std"] |
| 101 |
quickcheck = ["dep:quickcheck"] |
| 102 |
rand = ["dep:rand"] |
| 103 |
serde = ["dep:serde"] |
| 104 |
std = [ |
| 105 |
"num-integer/std", |
| 106 |
"num-traits/std", |
| 107 |
] |