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:
Vinzent Steinberg 2021-04-10 01:42:56 -03:00
parent 5aa6033a3b
commit 9103a8b763

View File

@ -79,11 +79,7 @@ proptest = { version = "1", optional = true, default-features = false, features
serde_json = "1.0"
rand_xorshift = "0.3"
rand_isaac = "0.3"
### Uncomment this line before running benchmarks.
### 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"
criterion = "0.2.10"
# For matrix comparison macro
matrixcompare = "0.2.0"
@ -91,6 +87,7 @@ itertools = "0.10"
[workspace]
members = [ "nalgebra-lapack", "nalgebra-glm", "nalgebra-sparse" ]
resolver = "2"
[[bench]]
name = "nalgebra_bench"