| 1 |
[package] |
| 2 |
authors = ["The Rust Project Developers"] |
| 3 |
description = "Complex numbers implementation for Rust" |
| 4 |
documentation = "https://docs.rs/num-complex" |
| 5 |
homepage = "https://github.com/rust-num/num-complex" |
| 6 |
keywords = ["mathematics", "numerics"] |
| 7 |
categories = ["algorithms", "data-structures", "science", "no-std"] |
| 8 |
license = "MIT OR Apache-2.0" |
| 9 |
name = "num-complex" |
| 10 |
repository = "https://github.com/rust-num/num-complex" |
| 11 |
version = "0.4.5" |
| 12 |
readme = "README.md" |
| 13 |
exclude = ["/ci/*", "/.github/*"] |
| 14 |
edition = "2018" |
| 15 |
|
| 16 |
[package.metadata.docs.rs] |
| 17 |
features = ["bytemuck", "std", "serde", "rkyv/size_64", "bytecheck", "rand"] |
| 18 |
|
| 19 |
[dependencies] |
| 20 |
|
| 21 |
[dependencies.bytemuck] |
| 22 |
optional = true |
| 23 |
version = "1" |
| 24 |
|
| 25 |
[dependencies.num-traits] |
| 26 |
version = "0.2.11" |
| 27 |
default-features = false |
| 28 |
features = ["i128"] |
| 29 |
|
| 30 |
[dependencies.serde] |
| 31 |
optional = true |
| 32 |
version = "1.0" |
| 33 |
default-features = false |
| 34 |
|
| 35 |
[dependencies.rkyv] |
| 36 |
optional = true |
| 37 |
version = "0.7" |
| 38 |
default-features = false |
| 39 |
|
| 40 |
[dependencies.bytecheck] |
| 41 |
optional = true |
| 42 |
version = "0.6" |
| 43 |
default-features = false |
| 44 |
|
| 45 |
[dependencies.rand] |
| 46 |
optional = true |
| 47 |
version = "0.8" |
| 48 |
default-features = false |
| 49 |
|
| 50 |
[features] |
| 51 |
default = ["std"] |
| 52 |
std = ["num-traits/std"] |
| 53 |
libm = ["num-traits/libm"] |