-
Notifications
You must be signed in to change notification settings - Fork 51
/
Cargo.toml
59 lines (50 loc) · 1.29 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[package]
authors = ["The Rust Project Developers"]
description = "Complex numbers implementation for Rust"
documentation = "https://docs.rs/num-complex"
homepage = "https://github.com/rust-num/num-complex"
keywords = ["mathematics", "numerics"]
categories = ["algorithms", "data-structures", "science", "no-std"]
license = "MIT OR Apache-2.0"
name = "num-complex"
repository = "https://github.com/rust-num/num-complex"
version = "0.4.6"
readme = "README.md"
exclude = ["/ci/*", "/.github/*"]
edition = "2021"
rust-version = "1.60"
[package.metadata.docs.rs]
features = ["bytemuck", "std", "serde", "rkyv/size_64", "bytecheck", "rand"]
[dependencies]
[dependencies.bytemuck]
optional = true
version = "1"
[dependencies.num-traits]
version = "0.2.18"
default-features = false
features = ["i128"]
[dependencies.serde]
optional = true
version = "1.0"
default-features = false
[dependencies.rkyv]
optional = true
version = "0.7"
default-features = false
[dependencies.bytecheck]
optional = true
version = "0.6"
default-features = false
[dependencies.rand]
optional = true
version = "0.8"
default-features = false
[features]
default = ["std"]
std = ["num-traits/std"]
libm = ["num-traits/libm"]
bytecheck = ["dep:bytecheck"]
bytemuck = ["dep:bytemuck"]
rand = ["dep:rand"]
rkyv = ["dep:rkyv"]
serde = ["dep:serde"]