2 releases
0.9.1 | Feb 24, 2022 |
---|---|
0.9.0 | Feb 20, 2022 |
#718 in HTTP server
93KB
2K
SLoC
kalgan
A web framework for Rust programing language.
Getting Started
-
Create your project with cargo:
cargo new project
-
Add the dependency in
Cargo.toml
:[dependencies] kalgan = { version = "0.9.0", features = ["tera"] }
-
Set your
main.rs
as follows:#[macro_use] pub mod macros; mod controller; fn main() { kalgan::run("settings.yaml", controller::resolver, None); }
-
Run your app:
my_path="path_to_my_project" cargo run
-
Open your browser and go to http://127.0.0.1:7878
You will see the following message:
Hello World! :)
Documentation
For further information please visit:
License
This crate is licensed under either of the following licenses:
Dependencies
~5–26MB
~418K SLoC