From af3901a98f9e9b0ca9e31a7ed59c42eef50c239c Mon Sep 17 00:00:00 2001 From: zachs18 <8355914+zachs18@users.noreply.github.com> Date: Sat, 4 Nov 2023 18:48:45 -0500 Subject: [PATCH 1/2] Forward `std` feature to deps. `nalgebra`'s `std` cargo feature now also enables the `std` feature of some dependencies that use `default-features = false` --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 8e4a8cc95..aa05fb06e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ path = "src/lib.rs" [features] default = [ "std", "macros" ] -std = [ "matrixmultiply", "simba/std" ] +std = [ "matrixmultiply", "num-traits/std", "num-complex/std", "num-rational/std", "approx/std", "simba/std", "alga?/std" ] sparse = [ ] debug = [ "approx/num-complex", "rand" ] alloc = [ ] From ba349ac4be631ea6214c4d072e7327b3711f2995 Mon Sep 17 00:00:00 2001 From: Zachary S Date: Sun, 10 Dec 2023 20:21:12 -0600 Subject: [PATCH 2/2] Remove `?/` syntax from Cargo.toml. nightly-2021-12-04 (used for cuda) is too old to support it. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index aa05fb06e..e2d1a4237 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ path = "src/lib.rs" [features] default = [ "std", "macros" ] -std = [ "matrixmultiply", "num-traits/std", "num-complex/std", "num-rational/std", "approx/std", "simba/std", "alga?/std" ] +std = [ "matrixmultiply", "num-traits/std", "num-complex/std", "num-rational/std", "approx/std", "simba/std" ] sparse = [ ] debug = [ "approx/num-complex", "rand" ] alloc = [ ]