From b6dfb4d80b6fd18e76841dc8c2b191df80761312 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Crozet?= Date: Wed, 24 Nov 2021 12:32:30 +0100 Subject: [PATCH] Enable simba/cuda when targetting cuda. --- Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index de5d6176..61f0fd25 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,7 +32,7 @@ compare = [ "matrixcompare-core" ] libm = [ "simba/libm" ] libm-force = [ "simba/libm_force" ] macros = [ "nalgebra-macros" ] -cuda = [ "cust" ] +cuda = [ "cust", "simba/cuda" ] # Conversion convert-mint = [ "mint" ] @@ -133,3 +133,6 @@ lto = true [package.metadata.docs.rs] # Enable certain features when building docs for docs.rs features = [ "proptest-support", "compare", "macros", "rand" ] + +[patch.crates-io] +simba = { git = "https://github.com/dimforge/simba"}