Crates.io | kalgan |
lib.rs | kalgan |
version | 0.9.1 |
source | src |
created_at | 2022-02-20 17:22:35.222193 |
updated_at | 2022-02-24 14:55:53.173099 |
description | A web framework for Rust programing language. |
homepage | https://kalgan.eduardocasas.com |
repository | https://github.com/eduardocasas/kalgan |
max_upload_size | |
id | 535843 |
size | 105,280 |
A web framework for Rust programing language.
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! :)
For further information please visit:
This crate is licensed under either of the following licenses: