docs.rs failed to build http-service-0.2.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
http-service-0.5.0
About
The crate http-service
provides the necessary types and traits to implement your own HTTP Server. It uses hyper
for the lower level TCP abstraction.
You can use the workspace member http-service-hyper
to run your HTTP Server.
- Runs via
http_service_hyper::run(HTTP_SERVICE, ADDRESS);
- Returns a future which can be
await
ed viahttp_service_hyper::serve(HTTP_SERVICE, ADDRESS);
This crate uses the latest Futures preview, and therefore needs to be run on Rust Nightly.
Examples
Cargo.toml
[dependencies]
http-service = "0.1.5"
futures-preview = "0.3.0-alpha.14"
[dependencies.http-service-hyper]
version = "0.1.1"
main.rs
use ;
use ;
use ;
License
MIT OR Apache-2.0