Welcome to the first public version of Kalgan, a web framework for Rust programing language developed by Eduardo Casas.
Kalgan helps to develop fast while keeping things simple and secure. It provides a robust set of features so you can focus on writing your app only.
It takes the best of the best web frameworks out there. It doesn't matter if you're new to Rust's ecosystem, if you're familiar with other frameworks you'll manage with Kalgan easily. Same as for most Rust web frameworks, we must be aware that Kalgan is not only a web framework but also an HTTP web server.
Find below some of the highlights:
Kalgan it's intended to fill an empty space in the incipient Rust web ecosystem. It's not meant to be a silver bullet but another option in the growing number of web frameworks for Rust available out there. Kalgan just tries to take a different approach, less rusty probably (which might be especially welcomed by newcomers)
Because most of its components are optional, Kalgan can be considered as a microframework out of the box. Find below the list of the available feature flags. Be aware that Kalgan doesn't enable any of them by default:
|kalgan_i18n||Enables translation system powered by create i18n (see i18n / Translation in the docs).|
|mailer||Enables the emailing system powered by crate lettre (see Mailer / SMTP in the docs).|
|services||Enables the services
|kalgan_cache||Enables the cache system that runs on Redis (see Cache / Redis in the docs).|
|session||Enables the session management that runs on cache system (see Cookies / Sessions in the docs).|
|sqlx||Enables the database connection powered by crate sqlx (see Database / SQLx in the docs).|
|tera||Enables the templating system powered by crate Tera (see Templates / Tera in the docs).|
|test||Enables the traits and functions to mock objects while testing (see Tests in the docs).|
|full||Enables all the features but test.|
Getting started with Kalgan is pretty straightforward. Just follow the steps described in chapter Getting Started.
Go to the index in the docs for a deeper learning of the every component. And, of course, you can find Kalgan too in crates.io and Docs.rs.
This project is completely open for collaborations. If you find an issue or have any suggestions, please don't hesitate to report it in the GitHub site of the project.
Last but not least, it's a must to say that Kalgan embraces Rust's Code of conduct.