forked from M-Labs/nalgebra
Use the new Cargo resolver from Rust 1.50
This should make it possible to add the dev-dependency on criterion without breaking `no_std` builds.
This commit is contained in:
parent
5aa6033a3b
commit
9103a8b763
@ -79,11 +79,7 @@ proptest = { version = "1", optional = true, default-features = false, features
|
|||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
rand_xorshift = "0.3"
|
rand_xorshift = "0.3"
|
||||||
rand_isaac = "0.3"
|
rand_isaac = "0.3"
|
||||||
### Uncomment this line before running benchmarks.
|
criterion = "0.2.10"
|
||||||
### We can't just let this uncommented because that would break
|
|
||||||
### compilation for #[no-std] because of the terrible Cargo bug
|
|
||||||
### https://github.com/rust-lang/cargo/issues/4866
|
|
||||||
#criterion = "0.2.10"
|
|
||||||
|
|
||||||
# For matrix comparison macro
|
# For matrix comparison macro
|
||||||
matrixcompare = "0.2.0"
|
matrixcompare = "0.2.0"
|
||||||
@ -91,6 +87,7 @@ itertools = "0.10"
|
|||||||
|
|
||||||
[workspace]
|
[workspace]
|
||||||
members = [ "nalgebra-lapack", "nalgebra-glm", "nalgebra-sparse" ]
|
members = [ "nalgebra-lapack", "nalgebra-glm", "nalgebra-sparse" ]
|
||||||
|
resolver = "2"
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
name = "nalgebra_bench"
|
name = "nalgebra_bench"
|
||||||
|
Loading…
Reference in New Issue
Block a user