emk / rust-musl-builder

Docker images for compiling static Rust binaries using musl-libc and musl-gcc, with static versions of useful C libraries. Supports openssl and diesel crates.
Apache License 2.0
1.54k stars 193 forks source link

Added libpq-dev #17

Closed beefsack closed 7 years ago

beefsack commented 7 years ago

Hello!

I'm currently maintaining a branch which includes libpq-dev (PostgreSQL development package) for a Rust application I'm maintaining which uses Diesel and PostgreSQL.

I think it might be valuable to have the popular database development packages installed as I don't believe it's uncommon for applications to talk to databases, and the header files are required to build the majority of database client libraries. This PR just adds the required package for PostgreSQL, but SQLite and MySQL headers could potentially be good to have too.

Please feel free to close if you're not comfortable with the extra dependency, I'm happy to maintain this fork for my own purposes.

emk commented 7 years ago

I use diesel at work, too. No promises, but I may merge this, and in any case, a big thank you!

emk commented 7 years ago

Hello, and sorry for the slow response! I just added an up-to-date libpq library to rust-musl-builder. Unfortunately, I had forgotten about your PR, so I ended up redoing the work from scratch. Thank you for proposing this feature!