| # 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.60" |
| name = "num" |
| version = "0.4.3" |
| authors = ["The Rust Project Developers"] |
| exclude = [ |
| "/ci/*", |
| "/.github/*", |
| ] |
| description = """ |
| A collection of numeric types and traits for Rust, including bigint, |
| complex, rational, range iterators, generic integers, and more! |
| """ |
| homepage = "https://github.com/rust-num/num" |
| documentation = "https://docs.rs/num" |
| readme = "README.md" |
| keywords = [ |
| "mathematics", |
| "numerics", |
| "bignum", |
| ] |
| categories = [ |
| "algorithms", |
| "data-structures", |
| "science", |
| "no-std", |
| ] |
| license = "MIT OR Apache-2.0" |
| repository = "https://github.com/rust-num/num" |
| |
| [package.metadata.docs.rs] |
| features = [ |
| "std", |
| "serde", |
| "rand", |
| ] |
| |
| [dependencies.num-bigint] |
| version = "0.4.5" |
| optional = true |
| default-features = false |
| |
| [dependencies.num-complex] |
| version = "0.4.6" |
| default-features = false |
| |
| [dependencies.num-integer] |
| version = "0.1.46" |
| features = ["i128"] |
| default-features = false |
| |
| [dependencies.num-iter] |
| version = "0.1.45" |
| features = ["i128"] |
| default-features = false |
| |
| [dependencies.num-rational] |
| version = "0.4.2" |
| default-features = false |
| |
| [dependencies.num-traits] |
| version = "0.2.19" |
| features = ["i128"] |
| default-features = false |
| |
| [dev-dependencies] |
| |
| [features] |
| alloc = [ |
| "dep:num-bigint", |
| "num-rational/num-bigint", |
| ] |
| default = ["std"] |
| libm = [ |
| "num-complex/libm", |
| "num-traits/libm", |
| ] |
| num-bigint = ["dep:num-bigint"] |
| rand = [ |
| "num-bigint/rand", |
| "num-complex/rand", |
| ] |
| serde = [ |
| "num-bigint/serde", |
| "num-complex/serde", |
| "num-rational/serde", |
| ] |
| std = [ |
| "dep:num-bigint", |
| "num-bigint/std", |
| "num-complex/std", |
| "num-integer/std", |
| "num-iter/std", |
| "num-rational/std", |
| "num-rational/num-bigint-std", |
| "num-traits/std", |
| ] |