Skip to content

Instantly share code, notes, and snippets.

djc /
Created Feb 6, 2022
opentelemetry-stackdriver example
use std::env;
use std::net::SocketAddr;
use std::str::FromStr;
use async_trait::async_trait;
use gcp_auth::AuthenticationManager;
use mendes::application::{Context, Responder, Server};
use mendes::http::request::Parts;
use mendes::http::{HeaderMap, Response, StatusCode};
use mendes::hyper::Body;

We are happy to announce the release of 0.7.0 of Quinn, our pure-Rust implementation of the QUIC protocol, the next generation TCP replacement protocol currently being standardized at the IETF.

After 10 months of development since the release of 0.6.0, we finally have a new release which upgrades the protocol to draft-29 (with support for draft 32). It has additionally received many performance improvements (especially on Linux), is much more robust, provides a number of new APIs to inspect connection state, and traits that can be used to customize behavior. Our quinn crate has been updated to depend on tokio 1.

The focus of our HTTP/3 implementation work has shifted to the h3 crate.

Important changes:

  • Update to Tokio 1, rustls 0.19 and bytes 1 (#873, with fixes in #995 thanks to @geieredgar)
  • Update to draft 29 with support for draft 32 (#812, #879)
View introspection-result.json
extern crate diesel;
extern crate dotenv;
extern crate futures;
extern crate hyper;
extern crate juniper;
extern crate r2d2;
extern crate r2d2_diesel;
extern crate serde;
extern crate serde_json;
extern crate trackpay;

Keybase proof

I hereby claim:

  • I am djc on github.
  • I am djc ( on keybase.
  • I have a public key whose fingerprint is 25BB BAC1 13C1 BFD5 AA59 4A4C 9F96 B929 3038 0381

To claim this, I am signing this object:

View protocol
.. Licensed under the Apache License, Version 2.0 (the "License"); you may not
.. use this file except in compliance with the License. You may obtain a copy of
.. the License at
.. Unless required by applicable law or agreed to in writing, software
.. distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
.. WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
.. License for the specific language governing permissions and limitations under