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

Customize builds with `cargo --features` #23

Open manuels opened 7 years ago

manuels commented 7 years ago

It would be great if you could set cargo --features <FEATURES> somehow when pushing to heroku.

emk commented 7 years ago

Ah, that's an interesting idea! Unfortunately, my backlog of critical issues on other projects is fairly large, and there's not much chance I'll be able to add this particular feature especially soon. However, I would definitely be interested in a pull request if somebody else wanted to work on it. Ideally, this would be configured by a CARGO_FEATURES build parameter passed to Heroku. Thank you for the suggestion!

amaury1093 commented 4 years ago

It's been 3y, I would like to know if any progress has been made in this direction?

emk commented 4 years ago

I am not aware of any PRs for this issue, though I would still be happy to accept and review one.

As noted above, I'm not currently doing any new feature development for this buildpack, but I do try to respond to PRs and urgent bug reports.