1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license OR Apache 2.0
#![cfg_attr(test, feature(assert_matches))]
#![feature(generic_associated_types)]
#![feature(trait_alias)]
#![feature(try_blocks)]
#![feature(type_ascription)]
// Only enable backtrace support when the feature is specified
// All usages of backtrace functionality are gated behind this.
#![allow(stable_features)]
#![cfg_attr(
  feature = "backtrace",
  feature(error_generic_member_access, provide_any, backtrace)
)]
// Some of these are incorrect with regards to exposed behaviour, especially around
// exported traits which may require extra lifetimes at implementation time, or where
// a boxed future to a dyn result is valid for a different lifetime than its dyn component.
// GATs also present complications wherein this lint has not yet caught up to all nuance.
#![allow(clippy::needless_lifetimes)]
// Codebase policy prefers an explicit unit return when it clarifies intent,
// for consistency with Ok(()) returns at the end of Result-bearing functions.
#![allow(clippy::unused_unit)]

pub mod common;
pub mod ext;
pub mod util;

pub mod client;
pub mod server;