finchers

Crates.io Crates.io (Downloads) Docs.rs Master doc Rustc Version dependency status Gitter

finchers is a combinator library for building asynchronous HTTP services.

The concept and design was highly inspired by [finch].

Features

Usage

Add this item to Cargo.toml in your project:

toml [dependencies] finchers = "0.13.2"

Example

```rust,no_run

[macro_use]

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");

} ```

Resources

Contributed Features

Status

| Travis CI | Appveyor | Coveralls | |:---------:|:--------:|:---------:| | Travis CI | Appveyor | Coveralls |

License

This project is licensed under either of

at your option.