# 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.65" name = "rug" version = "1.26.1" build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false 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 = [ "bignum", "gmp", "math", "numerics", ] categories = [ "api-bindings", "mathematics", ] license = "LGPL-3.0+" repository = "https://gitlab.com/tspiteri/rug" [package.metadata.docs.rs] features = [ "num-traits", "serde", ] [lib] name = "rug" path = "src/lib.rs" [dependencies.az] version = "1.1" [dependencies.gmp-mpfr-sys] version = "~1.6" optional = true default-features = false [dependencies.libc] version = "0.2.44" default-features = false [dependencies.libm] version = "0.2" [dependencies.num-integer] version = "0.1.45" features = ["i128"] optional = true default-features = false [dependencies.num-traits] version = "0.2.15" features = [ "i128", "std", ] optional = true default-features = false [dependencies.serde] version = "1.0.25" optional = true [dev-dependencies.bincode] version = "1" [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 = [ "complex", "float", "integer", "rand", "rational", "std", ] fail-on-warnings = [] float = ["gmp-mpfr-sys/mpfr"] gmp-mpfr-sys = ["dep:gmp-mpfr-sys"] integer = ["gmp-mpfr-sys"] nightly-float = [] num-integer = ["dep:num-integer"] num-traits = [ "dep:num-traits", "num-integer", ] rand = ["integer"] rational = ["integer"] serde = [ "dep:serde", "std", ] std = []