heroku-buildpack-rust icon indicating copy to clipboard operation
heroku-buildpack-rust copied to clipboard

A buildpack for Rust applications on Heroku, with full support for Rustup, cargo and build caching.

Results 19 heroku-buildpack-rust issues
Sort by recently updated
recently updated
newest added

Was upgrading an app that used https://github.com/Hoverbear/heroku-buildpack-rust before and got the error ``` -----> Checking for new releases of Rust stable channel /tmp/buildpacks/custom/bin/compile: line 107: rustup: command not found ```...

This MR adds the SQLX_OFFLINE environment variable to the buildpack

When building with `cargo build --example whatever`, cargo places the resulting binary into `target/release/examples/whatever`. The `find` command's argument, maxdepth is set at 1, which excluded the examples directory. Changing this...

Thought adding a general prefix to identify the variables wanted was simplest. Response to issue #25. User sets Config Var for their Heroku application using the ```BUILDVAR_``` prefix. These variables...

Right now, this buildpack always builds with `--release`. But there are situations in which one might want to build in debug mode... or at least with debug symbols enabled. Maybe...

enhancement
help wanted

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...

Hi, buildpack newbie here, so please apologise if I'm mistaken. I believe a Rust buildpack should support [Trunk](https://trunkrs.dev/), the application bundler recommended for [Yew](https://yew.rs/) - a rather popular WASM framework....

This buildpack doesn't set the `WEB_CONCURRENCY` environment variable. For example, the [official Python buildpack](https://github.com/heroku/heroku-buildpack-python) sets it. I'm guessing that this is set by Heroku themselves, and the buildpacks just expose...

This commit adds a compatibility with the popular (I guess) SQLx crate. The implementation is largely inspired by the one for diesel. I added some info inside the README.md too....

If someone wants to use sqlx instead of Diesel, it would be nice to see instructions on how to do that in the README.