Driver: Replace xsalsa20poly1305 with crypto_secretbox (#198)
As of v0.9.1, `xsalsa20poly1305` has been deprecated. This is a mostly seamless replacement, as it appears to be the same crate authors / code / etc. Co-authored-by: Kyle Simpson <kyleandrew.simpson@gmail.com>
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
use crate::{
|
||||
constants::*,
|
||||
driver::crypto::KEY_SIZE,
|
||||
input::{
|
||||
cached::Compressed,
|
||||
codecs::{CODEC_REGISTRY, PROBE},
|
||||
@@ -10,10 +11,10 @@ use crate::{
|
||||
test_utils,
|
||||
tracks::LoopState,
|
||||
};
|
||||
use crypto_secretbox::{KeyInit, XSalsa20Poly1305 as Cipher};
|
||||
use flume::{Receiver, Sender};
|
||||
use std::{io::Cursor, net::UdpSocket, sync::Arc};
|
||||
use tokio::runtime::Handle;
|
||||
use xsalsa20poly1305::{KeyInit, XSalsa20Poly1305 as Cipher, KEY_SIZE};
|
||||
|
||||
use super::{
|
||||
scheduler::*,
|
||||
|
||||
Reference in New Issue
Block a user