rug 1.0.1

Arbitrary-precision integers, rational, floating-point and complex numbers based on GMP, MPFR and MPC
Documentation
# Copyright © 2016–2018 University of Malta

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License and a copy of the GNU General Public License along with this
# program. If not, see <http://www.gnu.org/licenses/>.

[package]
name = "rug"
version = "1.0.1"
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"
repository = "https://gitlab.com/tspiteri/rug"
readme = "README.md"
keywords = ["gmp", "bignum", "mathematics", "numerics"]
categories = ["api-bindings", "science"]
license = "LGPL-3.0+"

[features]
default = ["integer", "rational", "float", "complex", "rand"]
integer = ["gmp-mpfr-sys"]
rational = ["integer"]
float = ["gmp-mpfr-sys/mpfr"]
complex = ["float", "gmp-mpfr-sys/mpc"]
rand = ["integer"]

[dependencies.gmp-mpfr-sys]
version = "1.1.1"
default-features = false
optional = true

[dependencies.serde]
version = "1.0.25"
optional = true

[dev-dependencies]
serde_test = "1"
serde_json = "1"
# exact version for bincode because we use unstable API (SliceReader)
bincode = "=1.0.0"
byteorder = "1"

[package.metadata.docs.rs]
features = ["serde"]