commit | 4ef03f4be52dd193d1a9fee620c8869cac3a6dbc | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Tue Sep 10 23:10:09 2024 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Tue Sep 10 23:10:09 2024 +0000 |
tree | 2fce3982057b036729fb0173ac4bed03ec449cbe | |
parent | 2f60cfec6ed1527faabb8074ea7afa8fc775fe8a [diff] | |
parent | 4c1971230e1f8cf82882d89c846460cc0a3e6280 [diff] |
Snap for 12349386 from 4c1971230e1f8cf82882d89c846460cc0a3e6280 to sdk-release Change-Id: Id79bcb434fea17e43284bdc623565357d6283af3
A Tokio aware, HTTP/2 client & server implementation for Rust.
More information about this crate can be found in the crate documentation.
This crate is intended to only be an implementation of the HTTP/2 specification. It does not handle:
This crate is now used by hyper, which will provide all of these features.
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() { // ... }
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.