Skip to main content

axum/test_helpers/
mod.rs

1#![allow(clippy::disallowed_names)]
2
3use crate::{extract::Request, response::Response, serve};
4
5mod test_client;
6pub use self::test_client::*;
7
8#[cfg(test)]
9pub(crate) mod tracing_helpers;
10
11#[cfg(test)]
12pub(crate) mod counting_cloneable_state;
13
14#[cfg(test)]
15pub(crate) fn assert_send<T: Send>() {}
16#[cfg(test)]
17pub(crate) fn assert_sync<T: Sync>() {}
18
19#[allow(dead_code)]
20pub(crate) struct NotSendSync(*const ());