Simple Rust webserver built using Cargo, deployable to Heroku.
Rust
Switch branches/tags
Nothing to show
Clone or download
Latest commit e17e980 Mar 31, 2018
Permalink
Failed to load latest commit information.
src Use and_then in get_server_port Jul 15, 2017
.gitignore Create initial Iron-based example server Jul 12, 2014
.travis.yml travis: Build using current stable Rust 1.11 Sep 18, 2016
Cargo.lock
Cargo.toml Add binary path to resolve buildpack test error Nov 14, 2017
LICENSE.txt Rename LICENCE to LICENSE.txt Nov 15, 2017
Procfile Look for "hello" in the release directory Nov 5, 2014
README.md
app.json Create an app.json file for "Deploy to Heroku" button Sep 17, 2014
rust-toolchain add rust-toolchain file for rustup Mar 30, 2018

README.md

Build Status

To deploy this application to Heroku, use this button:

Deploy

Or, if you'd prefer to use the command line, try running:

git clone https://github.com/emk/heroku-rust-cargo-hello.git
cd heroku-rust-cargo-hello
heroku create --buildpack https://github.com/emk/heroku-buildpack-rust.git
git push heroku master

This should make a local copy of this application and deploy it to Heroku.

For further instructions, see the page for this buildpack.

Does this work with the latest version of Rust?

This application works with version 1.25.0 of Rust, which theoretically means that it should run on any future 1.x release of Rust. If it doesn't work, please file a bug.

Does this work with Cloud Foundry?

The application can be deployed to Cloud Foundry as an alternative to Heroku. From the command line, run:

cd heroku-rust-cargo-hello
cf push heroku-rust-cargo-hello -b https://github.com/emk/heroku-buildpack-rust.git