| # 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-complex" |
| version = "0.4.6" |
| authors = ["The Rust Project Developers"] |
| exclude = [ |
| "/ci/*", |
| "/.github/*", |
| ] |
| description = "Complex numbers implementation for Rust" |
| homepage = "https://github.com/rust-num/num-complex" |
| documentation = "https://docs.rs/num-complex" |
| readme = "README.md" |
| keywords = [ |
| "mathematics", |
| "numerics", |
| ] |
| categories = [ |
| "algorithms", |
| "data-structures", |
| "science", |
| "no-std", |
| ] |
| license = "MIT OR Apache-2.0" |
| repository = "https://github.com/rust-num/num-complex" |
| |
| [package.metadata.docs.rs] |
| features = [ |
| "bytemuck", |
| "std", |
| "serde", |
| "rkyv/size_64", |
| "bytecheck", |
| "rand", |
| ] |
| |
| [dependencies.bytecheck] |
| version = "0.6" |
| optional = true |
| default-features = false |
| |
| [dependencies.bytemuck] |
| version = "1" |
| optional = true |
| |
| [dependencies.num-traits] |
| version = "0.2.18" |
| features = ["i128"] |
| default-features = false |
| |
| [dependencies.rand] |
| version = "0.8" |
| optional = true |
| default-features = false |
| |
| [dependencies.rkyv] |
| version = "0.7" |
| optional = true |
| default-features = false |
| |
| [dependencies.serde] |
| version = "1.0" |
| optional = true |
| default-features = false |
| |
| [features] |
| bytecheck = ["dep:bytecheck"] |
| bytemuck = ["dep:bytemuck"] |
| default = ["std"] |
| libm = ["num-traits/libm"] |
| rand = ["dep:rand"] |
| rkyv = ["dep:rkyv"] |
| serde = ["dep:serde"] |
| std = ["num-traits/std"] |