Crates.io | swish_swish |
lib.rs | swish_swish |
version | 1.0.7 |
source | src |
created_at | 2020-08-21 03:27:15.155416 |
updated_at | 2020-10-15 13:28:16.859431 |
description | Rust Web Framework With No Dependencies With Nightly Modules |
homepage | |
repository | https://github.com/NoCtrlZ/swish |
max_upload_size | |
id | 278994 |
size | 25,921 |
This Is The Beef Web Flamework For R**ket🥩 Swish Swish Bish🎶 Another One In The Basket🏀
extern crate swish_swish;
use swish_swish::*;
fn swish_swish() -> Swish {
let mut swish = Swish::new();
swish.get("/path", path_handler);
swish.get("/user/:id", user_id_handler);
swish.post("/user/register", user_register_handler);
swish.set_cors_as(allow_everything());
swish
}
fn main() {
swish_swish().bish();
}
Full Demo Application Is Here🎱
There are three rules when making this web flamework.
Sometime other Rust web flameworks can't be built when it's compiled for production because of dependencies with nightly modules
. Do we need to be an OSS committer? And we also don't prefer to use left-pad packages. R**ket is about as useful as an old coupon expired! I'd like to say We are programmer not OSS committer nor fucking copy paster!
[dependencies]
swish_swish = "1.0.7"
I count the crime I committed. Karma‘s not a liar!
0.1.0
Release1.0.0
Release$ cargo test