emk / heroku-buildpack-rust

A buildpack for Rust applications on Heroku, with full support for Rustup, cargo and build caching.
522 stars 186 forks source link

Option to keep source files of dependencies after compile #59

Open nicksrandall opened 3 years ago

nicksrandall commented 3 years ago

I happen to be using a cargo package in my app that reads some local (to the package) files at runtime. When I run my app using this build-pack, I get errors that those files no longer exist.

Would it be possible to add an ENV var (or something similar) to prevent the build-pack from deleting source files after compilation?

emk commented 2 years ago

Unfortunately, I am unlikely to have much time to work on this buildpack for the foreseeable future, since I have no projects left on Heroku. My apologies!

John0x commented 2 years ago

Unfortunately, I am unlikely to have much time to work on this buildpack for the foreseeable future, since I have no projects left on Heroku. My apologies!

Out of curiosity, where did you move to as your cloud of choice for rust projects? AWS?