#http-service #hyper #future #serve #traits #back-end

http-service-hyper

HttpService server that uses Hyper as backend

6 releases (3 breaking)

0.4.1 Nov 27, 2019
0.4.0 Jul 25, 2019
0.3.1 Aug 21, 2019
0.3.0 Jun 26, 2019
0.1.0 Feb 25, 2019

#31 in #http-service

Download history 240/week @ 2024-04-01 124/week @ 2024-04-08 160/week @ 2024-04-15 176/week @ 2024-04-22 131/week @ 2024-04-29 153/week @ 2024-05-06 163/week @ 2024-05-13 162/week @ 2024-05-20 137/week @ 2024-05-27 135/week @ 2024-06-03 101/week @ 2024-06-10 131/week @ 2024-06-17 134/week @ 2024-06-24 26/week @ 2024-07-01 52/week @ 2024-07-08 131/week @ 2024-07-15

360 downloads per month

MIT/Apache

19KB
231 lines

http-service

Types and traits to help you implement your own HTTP server

About

This crate has been deprecated. We recommend implementing inherent methods such as Tide's Server::respond method instead.

The crate http-service provides the necessary types and traits to implement your own HTTP Server.

For example you can use the workspace member http-service-hyper to run an HTTP Server.

  1. Runs via http_service_hyper::run(HTTP_SERVICE, ADDRESS);
  2. Returns a future which can be awaited via http_service_hyper::serve(HTTP_SERVICE, ADDRESS);

Contributing

Want to join us? Check out our The "Contributing" section of the guide and take a look at some of these issues:

Conduct

The http-service project adheres to the Contributor Covenant Code of Conduct. This describes the minimum behavior expected from all contributors.

License

MIT OR Apache-2.0

Dependencies

~6–9.5MB
~166K SLoC