Rewrite traits to use async-fn-in-trait.

- Stub
- BeforeRequest
- AfterRequest

Also removed the last remaining usage of an unstable feature,
iter_intersperse.
This commit is contained in:
Tim Kuehn
2023-11-06 12:43:48 -08:00
committed by Tim
parent 84932df9b4
commit 6cf18a1caf
22 changed files with 97 additions and 251 deletions

View File

@@ -4,9 +4,6 @@
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.
#![allow(incomplete_features)]
#![feature(async_fn_in_trait)]
use std::env;
use tracing_subscriber::{fmt::format::FmtSpan, prelude::*};