ariasanovsky / spindle

11 stars 1 forks source link

Fix documentation build (repost from PR) #11

Open ariasanovsky opened 1 year ago

ariasanovsky commented 1 year ago

Villiam pointed out that the docs don't build on computers without CUDA dependencies installed.

Correct me if I am wrong, but the modification Cargo.toml would have to be made by every user of spindle, and that is something I very much would like to avoid.

Perhaps there is another solution that involves

`#[cfg(feature = "docs")]`

and setting up either a mock or a redirect for the components that require building with CUDA.

My hands are very full at the moment, but I will probably turn back to it some time before 0.2.0.