blob: 75a1ac58f33aea4f0dd677bfa1474138ffe0b57f [file] [log] [blame]
# 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]
edition = "2018"
name = "num-rational"
version = "0.4.0"
authors = ["The Rust Project Developers"]
exclude = ["/bors.toml", "/ci/*", "/.github/*"]
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", "fractions"]
categories = ["algorithms", "data-structures", "science", "no-std"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-num/num-rational"
[package.metadata.docs.rs]
features = ["std", "num-bigint-std", "serde"]
[dependencies.num-bigint]
version = "0.4.0"
optional = true
default-features = false
[dependencies.num-integer]
version = "0.1.42"
features = ["i128"]
default-features = false
[dependencies.num-traits]
version = "0.2.11"
features = ["i128"]
default-features = false
[dependencies.serde]
version = "1.0.0"
optional = true
default-features = false
[build-dependencies.autocfg]
version = "1.0.0"
[features]
default = ["num-bigint-std", "std"]
num-bigint-std = ["num-bigint/std"]
std = ["num-integer/std", "num-traits/std"]