diff --git a/src/voice/crypto.rs b/src/voice/crypto.rs index 7657383..995a26b 100644 --- a/src/voice/crypto.rs +++ b/src/voice/crypto.rs @@ -2,8 +2,6 @@ //! //! All functions in this module return a 24 byte long [Vec]. -use crypto_secretbox::cipher::typenum::Len; - /// Gets an xsalsa20_poly1305 nonce from an rtppacket. /// /// See diff --git a/src/voice/udp/handle.rs b/src/voice/udp/handle.rs index 87550d3..1fab085 100644 --- a/src/voice/udp/handle.rs +++ b/src/voice/udp/handle.rs @@ -15,10 +15,7 @@ use super::UdpSocket; use crate::{ errors::VoiceUdpError, types::VoiceEncryptionMode, - voice::{ - crypto::{self, get_xsalsa20_poly1305_nonce}, - voice_data::VoiceData, - }, + voice::{crypto::get_xsalsa20_poly1305_nonce, voice_data::VoiceData}, }; use super::{events::VoiceUDPEvents, RTP_HEADER_SIZE};