finchers
finchers
is a combinator library for building asynchronous HTTP services.
The concept and design was highly inspired by [finch
].
Add this item to Cargo.toml
in your project:
toml
[dependencies]
finchers = "0.13.5"
```rust,no_run
extern crate finchers; use finchers::prelude::*;
fn main() { let endpoint = path!(@get / "greeting" / String) .map(|name: String| { format!("Hello, {}!\n", name) });
finchers::server::start(endpoint)
.serve("127.0.0.1:4000")
.expect("failed to start the server");
} ```
finchers-juniper
] - GraphQL integration support, based on [juniper
]finchers-tungstenite
] - WebSocket support, based on [tungstenite
]finchers-session
]: Session supportfinchers-template
]: Template engine support| Travis CI | Appveyor | CircleCI | Codecov |
|:---------:|:--------:|:--------:|:-------:|
| |
|
|
|
This project is licensed under either of
at your option.