forked from standard-ai/fast_fp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
59 lines (46 loc) · 1.48 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]
name = "fast_fp"
version = "0.1.3"
authors = ["Renar Narubin <[email protected]>"]
edition = "2018"
description = "Floating point fast-math optimizations"
repository = "https://github.com/standard-ai/fast_fp"
readme = "README.md"
license = "MIT OR Apache-2.0"
keywords = ["fast-math", "performance"]
categories = ["mathematics"]
documentation = "https://docs.rs/fast_fp"
[lib]
bench = false
[[bench]]
name = "operations"
harness = false
[[bench]]
name = "geometry"
harness = false
required-features = ["nalgebra-v029"]
[features]
default = ["num-traits"]
# optional trait implementations
nalgebra-v021 = ["num-traits", "nalgebra_v021", "simba_v01", "approx_v03"]
nalgebra-v029 = ["num-traits", "nalgebra_v029", "simba_v06", "approx_v05"]
[dependencies]
paste = "1"
num-traits = { version = "0.2", optional = true }
approx_v03 = { package = "approx", version = "0.3", optional = true }
nalgebra_v021 = { package = "nalgebra", version = "0.21", optional = true }
simba_v01 = { package = "simba", version = "0.1", optional = true }
approx_v05 = { package = "approx", version = "0.5", optional = true }
nalgebra_v029 = { package = "nalgebra", version = "0.29", optional = true }
simba_v06 = { package = "simba", version = "0.6", optional = true }
[build-dependencies]
cc = "1"
[dev-dependencies]
criterion = { version = "0.3", features = ["html_reports"] }
rand = "0.8"
[profile.release]
lto="thin"
codegen-units=1
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
all-features = true