3 ms·
It looks like there are a few CGI crates on crates.io, but they're not super popular. Crates.io uses https://github.com/emk/heroku-buildpack-rust https://github
by steveklabnik 10y ago
It looks like there are a few CGI crates on crates.io, but they're not super popular. Crates.io uses https://github.com/emk/heroku-buildpack-rust https://github.com/emk/heroku-buildpack-rust in combination with https://github.com/ryandotsmith/nginx-buildpack https://github.com/ryandotsmith/nginx-buildpack, which puts nginx in front of a Rust application server, communicating over a socket. See here: https://github.com/ryandotsmith/nginx-buildpack/blob/master/config/nginx.conf.erb https://github.com/ryandotsmith/nginx-buildpack/blob/master/... for the default config, https://github.com/rust-lang/crates.io/blob/0f3adf36108dfac662e3463b4ff97567261f5de9/config/nginx.conf.erb https://github.com/rust-lang/crates.io/blob/0f3adf36108dfac6... for the one we actually use.
(Given this is offtopic, I'll leave it at that. Happy to answer questions over at https://users.rust-lang.org/ https://users.rust-lang.org/ )
- ekidd 10y ago> Crates.io uses https://github.com/emk/heroku-buildpack-rust https://github.com/emk/heroku-buildpack-rust Oh, wow, maintainer here. I had no idea. :-) Thanks for making my morning, and never hesitate to send PRs!