-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
31 lines (26 loc) · 929 Bytes
/
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
[package]
name = "math"
version = "2.1.0"
authors = ["Gillett Hernandez <gillett.hernandez@gmail.com>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
# itertools = "0.10.1"
num-traits = "~0.2"
nalgebra = "~0.32"
num_cpus = "~1"
ordered-float = "~4.2"
rand = "~0.8"
rayon = "~1.10"
serde = { version = "~1.0", features = ["derive"], optional = true }
deepsize = { version = "~0.2", optional = true }
[build-dependencies]
serde_json = { version = "~1.0" }
serde = { version = "~1.0", features = ["derive"], optional = true }
[features]
default = ["simdfloat_patch", "serde"]
serde = ["dep:serde"]
deepsize = ["dep:deepsize"]
# feature flag to bring in a custom trait that adds .exp and .powf methods to f32x4.
# temporary fix pending https://github.com/rust-lang/portable-simd/pull/400 being brought into the rust nightly
simdfloat_patch = []