# 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.60"
name = "num-bigint"
version = "0.4.6"
authors = ["The Rust Project Developers"]
exclude = [
    "/ci/*",
    "/.github/*",
]
description = "Big integer implementation for Rust"
homepage = "https://github.com/rust-num/num-bigint"
documentation = "https://docs.rs/num-bigint"
readme = "README.md"
keywords = [
    "mathematics",
    "numerics",
    "bignum",
]
categories = [
    "algorithms",
    "data-structures",
    "science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-num/num-bigint"

[package.metadata.docs.rs]
features = [
    "std",
    "serde",
    "rand",
    "quickcheck",
    "arbitrary",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[[bench]]
name = "bigint"

[[bench]]
name = "factorial"

[[bench]]
name = "gcd"

[[bench]]
name = "roots"

[[bench]]
name = "shootout-pidigits"
harness = false

[dependencies.arbitrary]
version = "1"
optional = true
default-features = false

[dependencies.num-integer]
version = "0.1.46"
features = ["i128"]
default-features = false

[dependencies.num-traits]
version = "0.2.18"
features = ["i128"]
default-features = false

[dependencies.quickcheck]
version = "1"
optional = true
default-features = false

[dependencies.rand]
version = "0.8"
optional = true
default-features = false

[dependencies.serde]
version = "1.0"
optional = true
default-features = false

[features]
arbitrary = ["dep:arbitrary"]
default = ["std"]
quickcheck = ["dep:quickcheck"]
rand = ["dep:rand"]
serde = ["dep:serde"]
std = [
    "num-integer/std",
    "num-traits/std",
]
