chore: unused imports
This commit is contained in:
parent
88152d0d3d
commit
d496cf01a5
|
@ -2,8 +2,6 @@
|
|||
//!
|
||||
//! All functions in this module return a 24 byte long [Vec<u8>].
|
||||
|
||||
use crypto_secretbox::cipher::typenum::Len;
|
||||
|
||||
/// Gets an xsalsa20_poly1305 nonce from an rtppacket.
|
||||
///
|
||||
/// See <https://discord-userdoccers.vercel.app/topics/voice-connections#encryption-mode>
|
||||
|
|
|
@ -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};
|
||||
|
|
Loading…
Reference in New Issue