rust-lang / docs.rs

crates.io documentation generator
https://docs.rs
MIT License
956 stars 193 forks source link

Can't build crates that need to download C/C++ dependencies from github #2500

Closed yesint closed 2 weeks ago

yesint commented 2 months ago

Crate name

molar_powersasa, molar_gromacs

Build failure link

https://docs.rs/crate/molar_powersasa/0.1.2/builds/1156669

Additional details

These crates are wrappers over C/C++ code that is built with CMake. CMake fetches C++ libraries (such as Eigen) from github on the configuration stage. Since docs.rs docker containers have no access to the network the build fails.

syphar commented 2 months ago

Hello,

we won't allow network access in the build for security reasons, so you'll have to find another solution.

Typically folks do: