blob: def7033f58006f0917c0b00c04e490705116b027 [file] [log] [blame] [edit]
# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)
[package]
name = "num-rational"
version = "0.2.1"
authors = ["The Rust Project Developers"]
build = "build.rs"
description = "Rational numbers implementation for Rust"
homepage = "https://github.com/rust-num/num-rational"
documentation = "https://docs.rs/num-rational"
readme = "README.md"
keywords = ["mathematics", "numerics"]
categories = ["algorithms", "data-structures", "science", "no-std"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rust-num/num-rational"
[package.metadata.docs.rs]
features = ["std", "bigint-std", "serde"]
[dependencies.num-bigint]
version = "0.2.0"
optional = true
default-features = false
[dependencies.num-integer]
version = "0.1.38"
default-features = false
[dependencies.num-traits]
version = "0.2.4"
default-features = false
[dependencies.serde]
version = "1.0.0"
optional = true
default-features = false
[features]
bigint = ["num-bigint"]
bigint-std = ["bigint", "num-bigint/std"]
default = ["bigint-std", "std"]
i128 = ["num-integer/i128", "num-traits/i128"]
std = ["num-integer/std", "num-traits/std"]