mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-02-09 01:59:16 +08:00
fix: tests add aead-cipher feature gate
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user