Small-HTTP Rust library
A simple and small HTTP/1.1 server/client library
Getting Started
A simple example the opens a http server on serves a simple response:
use ;
use ;
A simple example the of a http client that fetches a JSON response:
See the examples for many more examples.
Important: reduce url
dependencies
You can greatly reduce the dependencies of the url crate, by removing the idna
support with the following crate update:
Documentation
See the documentation for more information.
License
Copyright © 2023-2025 Bastiaan van der Plaat
Licensed under the MIT license.