| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2018" |
| 14 |
name = "num-complex" |
| 15 |
version = "0.4.5" |
| 16 |
authors = ["The Rust Project Developers"] |
| 17 |
exclude = [ |
| 18 |
"/ci/*", |
| 19 |
"/.github/*", |
| 20 |
] |
| 21 |
description = "Complex numbers implementation for Rust" |
| 22 |
homepage = "https://github.com/rust-num/num-complex" |
| 23 |
documentation = "https://docs.rs/num-complex" |
| 24 |
readme = "README.md" |
| 25 |
keywords = [ |
| 26 |
"mathematics", |
| 27 |
"numerics", |
| 28 |
] |
| 29 |
categories = [ |
| 30 |
"algorithms", |
| 31 |
"data-structures", |
| 32 |
"science", |
| 33 |
"no-std", |
| 34 |
] |
| 35 |
license = "MIT OR Apache-2.0" |
| 36 |
repository = "https://github.com/rust-num/num-complex" |
| 37 |
|
| 38 |
[package.metadata.docs.rs] |
| 39 |
features = [ |
| 40 |
"bytemuck", |
| 41 |
"std", |
| 42 |
"serde", |
| 43 |
"rkyv/size_64", |
| 44 |
"bytecheck", |
| 45 |
"rand", |
| 46 |
] |
| 47 |
|
| 48 |
[dependencies.bytecheck] |
| 49 |
version = "0.6" |
| 50 |
optional = true |
| 51 |
default-features = false |
| 52 |
|
| 53 |
[dependencies.bytemuck] |
| 54 |
version = "1" |
| 55 |
optional = true |
| 56 |
|
| 57 |
[dependencies.num-traits] |
| 58 |
version = "0.2.11" |
| 59 |
features = ["i128"] |
| 60 |
default-features = false |
| 61 |
|
| 62 |
[dependencies.rand] |
| 63 |
version = "0.8" |
| 64 |
optional = true |
| 65 |
default-features = false |
| 66 |
|
| 67 |
[dependencies.rkyv] |
| 68 |
version = "0.7" |
| 69 |
optional = true |
| 70 |
default-features = false |
| 71 |
|
| 72 |
[dependencies.serde] |
| 73 |
version = "1.0" |
| 74 |
optional = true |
| 75 |
default-features = false |
| 76 |
|
| 77 |
[features] |
| 78 |
default = ["std"] |
| 79 |
libm = ["num-traits/libm"] |
| 80 |
std = ["num-traits/std"] |