extern math
This commit is contained in:
16
Cargo.toml
16
Cargo.toml
@@ -6,10 +6,17 @@ edition = "2018"
|
||||
readme = "README.md"
|
||||
license = "MIT OR Apache-2.0"
|
||||
|
||||
[lib]
|
||||
bench = false
|
||||
|
||||
[[bench]]
|
||||
name = "operations"
|
||||
harness = false
|
||||
|
||||
[[bench]]
|
||||
name = "math"
|
||||
harness = false
|
||||
|
||||
[features]
|
||||
default = ["num-traits"]
|
||||
|
||||
@@ -17,6 +24,8 @@ 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 }
|
||||
@@ -27,6 +36,9 @@ 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"
|
||||
@@ -34,3 +46,7 @@ rand = "0.8"
|
||||
[profile.test]
|
||||
# run tests at high optimization to exercise typical codegen
|
||||
opt-level = 3
|
||||
|
||||
[profile.release]
|
||||
lto = "fat"
|
||||
codegen-units = 1
|
||||
|
||||
Reference in New Issue
Block a user