# 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]
rust-version = "1.61.0"
name = "malachite-q"
version = "0.2.3"
authors = ["Mikhail Hogrefe <mikhailhogrefe@gmail.com>"]
description = "The arbitrary-precision type Rational, with efficient algorithms partially derived from GMP"
homepage = "https://malachite.rs/"
readme = "README.md"
keywords = [
    "mathematics",
    "math",
    "numerics",
    "bignum",
]
categories = ["mathematics"]
license = "LGPL-3.0-only"
repository = "https://github.com/mhogrefe/malachite"

[package.metadata.docs.rs]
rustdoc-args = [
    "--html-in-header",
    "katex-header.html",
]

[profile.release]
lto = true
strip = true

[lib]
name = "malachite_q"
path = "src/lib.rs"

[[bin]]
name = "malachite_q_main"
path = "src/bin.rs"

[dependencies.itertools]
version = "0.9.0"

[dependencies.malachite-base]
version = "0.2.3"

[dependencies.malachite-nz]
version = "0.2.3"
features = ["serde"]

[dependencies.num]
version = "0.4.0"
features = ["serde"]
optional = true

[dependencies.rug]
version = "1.16.0"
features = [
    "rational",
    "serde",
]
optional = true
default-features = false

[dependencies.serde]
version = "^1.0.0"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "^1.0.32"
optional = true

[features]
32_bit_limbs = ["malachite-nz/32_bit_limbs"]
bin_build = ["test_build"]
test_build = [
    "malachite-base/test_build",
    "malachite-nz/test_build",
    "serde",
    "serde_json",
    "num",
    "rug",
]
