fix: tests add aead-cipher feature gate

This commit is contained in:
zonyitoo
2024-11-02 22:43:58 +08:00
parent f8e69417f4
commit 85b6e47bbc
2 changed files with 2 additions and 0 deletions

View File

@@ -151,6 +151,7 @@ async fn tcp_tunnel_example(
Ok(())
}
#[cfg(feature = "aead-cipher")]
#[tokio::test]
async fn tcp_tunnel_aead() {
let _ = env_logger::try_init();

View File

@@ -136,6 +136,7 @@ async fn udp_tunnel_echo(
Ok(())
}
#[cfg(feature = "aead-cipher")]
#[tokio::test]
async fn udp_tunnel_aead() {
let _ = env_logger::try_init();