rust-lang / crates-build-env

Build environment for third-party Rust crates
MIT License
71 stars 92 forks source link

Missing dependency request: libelektra #21

Closed PhilippGackstatter closed 5 years ago

PhilippGackstatter commented 5 years ago

Can you add libelektra-dev to the system dependencies?

This is for the Rust bindings for libelektra, specifically for the elektra and elektra-sys crates. elektra-sys uses rust-bindgen to generate the bindings from the header file in the above mentioned package. If it's not present then documentation for the elektra crate won't build.

I ran the docker image as suggested in the blog post and installed the package. The documentation then built sucessfully.

Thanks!

pietroalbini commented 5 years ago

Thanks! Opened a PR to add that package to the Docker image!

As docs.rs still uses the legacy build environment, I installed the package there as well and rebuilt the docs for elektra and elektra-sys. They should be available now.

PhilippGackstatter commented 5 years ago

Thank you so much!