Neither of the crates has a documentation available. This happens because docs.rs builds are performed in an isolated environment without network access and with limited filesystem access, therefore nginx-sys fails to fetch and build the dependencies.
The build environment already has most of the things we need, we'll only have to deliver the NGINX itself and make it build against the system libs.
A possible approach can be copied from the openssl crate: a new nginx-src crate that embeds a git submodule with the latest stable NGINX source.
Neither of the crates has a documentation available. This happens because docs.rs builds are performed in an isolated environment without network access and with limited filesystem access, therefore
nginx-sys
fails to fetch and build the dependencies.Logs:
The build environment already has most of the things we need, we'll only have to deliver the NGINX itself and make it build against the system libs. A possible approach can be copied from the openssl crate: a new
nginx-src
crate that embeds a git submodule with the latest stable NGINX source.