MyGit

hyperium/h2

Fork: 276 Star: 1373 (更新于 2024-10-27 14:26:59)

license: MIT

Language: Rust .

HTTP 2.0 client & server implementation for Rust.

最后发布版本: v0.4.6 ( 2024-08-19 23:52:23)

GitHub网址

H2

A Tokio aware, HTTP/2 client & server implementation for Rust.

License: MIT Crates.io Documentation

More information about this crate can be found in the crate documentation.

Features

  • Client and server HTTP/2 implementation.
  • Implements the full HTTP/2 specification.
  • Passes h2spec.
  • Focus on performance and correctness.
  • Built on Tokio.

Non goals

This crate is intended to only be an implementation of the HTTP/2 specification. It does not handle:

  • Managing TCP connections
  • HTTP 1.0 upgrade
  • TLS
  • Any feature not described by the HTTP/2 specification.

This crate is now used by hyper, which will provide all of these features.

Usage

To use h2, first add this to your Cargo.toml:

[dependencies]
h2 = "0.4"

Next, add this to your crate:

extern crate h2;

use h2::server::Connection;

fn main() {
    // ...
}

FAQ

How does h2 compare to solicit or rust-http2?

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 library is rapidly approaching "production ready" quality.

Besides the above, Solicit is built on blocking I/O and does not appear to be actively maintained.

Is this an embedded Java SQL database engine?

No.

最近版本更新:(数据更新于 2024-10-03 13:51:15)

2024-08-19 23:52:23 v0.4.6

2024-05-17 20:37:18 v0.4.5

2024-04-04 02:11:40 v0.4.4

2024-04-04 02:06:27 v0.3.26

2024-03-15 23:24:56 v0.4.3

2024-03-15 23:24:29 v0.3.25

2024-01-18 04:00:07 v0.4.2

2024-01-18 03:57:11 v0.3.24

2024-01-11 04:39:27 v0.3.23

2024-01-09 05:42:41 v0.4.1

主题(topics):

http2, rust, tokio

hyperium/h2同语言 Rust最近更新仓库

2024-11-05 08:48:52 lapce/lapce

2024-11-04 19:47:57 dashpay/platform

2024-11-01 02:26:55 mediar-ai/screenpipe

2024-10-30 06:09:45 electric-capital/crypto-ecosystems

2024-10-29 10:21:58 rustdesk/rustdesk

2024-10-27 15:42:03 jtroo/kanata