commit | 1401fdecbde916cb1f295d3a7552d52cbe4c3231 | [log] [tgz] |
---|---|---|
author | James Farrell <[email protected]> | Wed Aug 07 15:57:50 2024 +0000 |
committer | Automerger Merge Worker <[email protected]> | Wed Aug 07 15:57:50 2024 +0000 |
tree | bf23f3f328442a6bc431d7bd44cb556077dd9f09 | |
parent | c08809665b9f5fd94b902627ac65b888a6e58b2d [diff] | |
parent | 1e77b2ce11a87bbf71be9373726ddaa22f6eddaa [diff] |
Update Android.bp by running cargo_embargo am: 450d310c2c am: 1e77b2ce11 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/h2/+/3209091 Change-Id: I778a04812377a388af20c0740bb6f2f9bd42bf72 Signed-off-by: Automerger Merge Worker <[email protected]>
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.