[package]
name = "rug"
version = "1.0.2"
authors = ["Trevor Spiteri <trevor.spiteri@um.edu.mt>"]
description = "Arbitrary-precision integers, rational, floating-point and complex numbers based on GMP, MPFR and MPC"
documentation = "https://docs.rs/rug"
readme = "README.md"
keywords = ["gmp", "bignum", "mathematics", "numerics"]
categories = ["api-bindings", "science"]
license = "LGPL-3.0+"
repository = "https://gitlab.com/tspiteri/rug"
[package.metadata.docs.rs]
features = ["serde"]
[dependencies.gmp-mpfr-sys]
version = "~1.1.1"
optional = true
default-features = false
[dependencies.serde]
version = "1.0.25"
optional = true
[dev-dependencies.bincode]
version = "=1.0.0"
[dev-dependencies.byteorder]
version = "1"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.serde_test]
version = "1"
[features]
complex = ["float", "gmp-mpfr-sys/mpc"]
default = ["integer", "rational", "float", "complex", "rand"]
float = ["gmp-mpfr-sys/mpfr"]
integer = ["gmp-mpfr-sys"]
rand = ["integer"]
rational = ["integer"]