Coal
Coal is a web server for Ruby applications that is (mostly) written in Rust. I'm too scared to write C and I've heard great things about Rust's memory safety. Coal uses threads to handle requests so you're probably going to hate it.
WTF, are you insane?
I thought it would be a good project to really dig into Rust.
Installation
Installing this is probably going to be bizarre for now. You'll need to create a static library out of the Rust code and then build the C-extension.
Usage
Hopefully you will just need to install it to use it.
TODO
- [ ] Parse HTTP request and implement Rack interface
- [ ] Figure out what happens when you use threads outside of MRI
- [ ] What the heck will a Ruby object look like to Rust?
Contributing
- Fork it ( https://github.com/[my-github-username]/coal/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request