28 lines
508 B
Markdown
28 lines
508 B
Markdown
# http
|
|
|
|
A basic Rust library to parse an HTTP request and build HTTP response.
|
|
|
|
**NOTE**: only few parts of the specification has been implemented and only JSON body are allowed.
|
|
|
|
## Integration
|
|
Get the latest version:
|
|
```toml
|
|
http = { git = "https://gitea.thegux.fr/rmanach/http" }
|
|
```
|
|
|
|
Or get a specific version:
|
|
```toml
|
|
http = { git = "https://gitea.thegux.fr/rmanach/http", version = "0.1.2" }
|
|
```
|
|
|
|
## Documentation
|
|
```bash
|
|
cargo doc -r --no-deps --open
|
|
```
|
|
|
|
## Launch unit tests
|
|
```bash
|
|
cargo test
|
|
```
|
|
|