[package] name = "malachite-q" version = "0.4.16" authors = ["Mikhail Hogrefe "] rust-version.workspace = true edition.workspace = true description = "The arbitrary-precision type Rational, with efficient algorithms partially derived from GMP and FLINT" readme = "README.md" homepage = "https://malachite.rs/" repository = "https://github.com/mhogrefe/malachite" license = "LGPL-3.0-only" keywords = ["mathematics", "math", "numerics", "bignum"] categories = ["mathematics"] [lib] name = "malachite_q" path = "src/lib.rs" [[bin]] name = "malachite_q_main" path = "src/bin.rs" [dependencies] itertools = { version = "0.11.0", default-features = false, features = ["use_alloc"] } malachite-base = { version = "0.4.16", default-features = false } malachite-nz = { version = "0.4.16", default-features = false } serde = { version = "1.0.188", optional = true, default-features = false, features = ["alloc", "derive"] } serde_json = { version = "1.0.105", optional = true } num = { version = "0.4.3", optional = true, features = ["serde"] } rug = { version = "1.24.1", default-features = false, optional = true, features = ["rational", "serde"] } [dev-dependencies] malachite-q = { path = ".", features = ["test_build"] } [features] enable_serde = ["serde", "malachite-nz/enable_serde"] random = ["malachite-base/random", "malachite-nz/random"] 32_bit_limbs = ["malachite-nz/32_bit_limbs"] test_build = ["malachite-base/test_build", "malachite-nz/test_build", "random", "serde", "serde_json", "num", "rug"] bin_build = ["test_build"] [package.metadata.docs.rs] features = ["random"] rustdoc-args = [ "--html-in-header", "katex-header.html" ]