3 ms·
I don't mean to be off-topic (sorry!), but what's the best CGI/FastCGI library for Rust? My impression is that it's not ideal for webapps at the moment, and I'
by Panino 10y ago
I don't mean to be off-topic (sorry!), but what's the best CGI/FastCGI library for Rust? My impression is that it's not ideal for webapps at the moment, and I'm comfortable with that. Putting all of Python into a webserver chroot isn't exactly ideal either. I specifically ask about Rust because when I looked at it a while back, it just felt so right to me.
- steveklabnik 10y agoIt 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!
- deleted 10y ago[deleted]
- moosingin3space 10y agoAsk this on the #rust-webdev IRC channel, you'll get more help there.