# Http Server lib for Rust
[](https://travis-ci.com/Milesq/web_server)
## web_server is a small, dependency-less crate for creating HTTP servers.
### When you coding the backend using Rust, the most annoying thing could be the size of a freamwork and the time needed to compile the application
### The web_server package fixes these problems. web_server has no dependencies, but allows you to create full-fledged servers
#### First server using web_server
```rust
extern crate web_server;
web_server::new()
.launch(80)
.unwrap();
```
#### It's easy!
#### First you must create instance of HttpServer
```rust
web_server::new()
```
#### then you can declare your endpoints. E.g.
```rust
// This function returns Response
"response text".into()
})