There's no such thing as HTTP/2.0

This commit is contained in:
lucas
2022-02-06 18:06:57 +00:00
committed by Sean McArthur
parent 4dc2b4a164
commit 47e9f62fb5
2 changed files with 7 additions and 7 deletions

View File

@@ -11,7 +11,7 @@ authors = [
"Carl Lerche <me@carllerche.com>", "Carl Lerche <me@carllerche.com>",
"Sean McArthur <sean@seanmonstar.com>", "Sean McArthur <sean@seanmonstar.com>",
] ]
description = "An HTTP/2.0 client and server" description = "An HTTP/2 client and server"
documentation = "https://docs.rs/h2" documentation = "https://docs.rs/h2"
repository = "https://github.com/hyperium/h2" repository = "https://github.com/hyperium/h2"
readme = "README.md" readme = "README.md"

View File

@@ -1,6 +1,6 @@
# H2 # H2
A Tokio aware, HTTP/2.0 client & server implementation for Rust. A Tokio aware, HTTP/2 client & server implementation for Rust.
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![Crates.io](https://img.shields.io/crates/v/h2.svg)](https://crates.io/crates/h2) [![Crates.io](https://img.shields.io/crates/v/h2.svg)](https://crates.io/crates/h2)
@@ -12,21 +12,21 @@ More information about this crate can be found in the [crate documentation][dox]
## Features ## Features
* Client and server HTTP/2.0 implementation. * Client and server HTTP/2 implementation.
* Implements the full HTTP/2.0 specification. * Implements the full HTTP/2 specification.
* Passes [h2spec](https://github.com/summerwind/h2spec). * Passes [h2spec](https://github.com/summerwind/h2spec).
* Focus on performance and correctness. * Focus on performance and correctness.
* Built on [Tokio](https://tokio.rs). * Built on [Tokio](https://tokio.rs).
## Non goals ## Non goals
This crate is intended to only be an implementation of the HTTP/2.0 This crate is intended to only be an implementation of the HTTP/2
specification. It does not handle: specification. It does not handle:
* Managing TCP connections * Managing TCP connections
* HTTP 1.0 upgrade * HTTP 1.0 upgrade
* TLS * TLS
* Any feature not described by the HTTP/2.0 specification. * Any feature not described by the HTTP/2 specification.
This crate is now used by [hyper](https://github.com/hyperium/hyper), which will provide all of these features. This crate is now used by [hyper](https://github.com/hyperium/hyper), which will provide all of these features.
@@ -55,7 +55,7 @@ fn main() {
**How does h2 compare to [solicit] or [rust-http2]?** **How does h2 compare to [solicit] or [rust-http2]?**
The h2 library has implemented more of the details of the HTTP/2.0 specification The h2 library has implemented more of the details of the HTTP/2 specification
than any other Rust library. It also passes the [h2spec] set of tests. The h2 than any other Rust library. It also passes the [h2spec] set of tests. The h2
library is rapidly approaching "production ready" quality. library is rapidly approaching "production ready" quality.