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:
@@ -18,6 +18,7 @@ async-trait = { optional = true, version = "0.1" }
|
||||
audiopus = { optional = true, version = "0.3.0-rc.0" }
|
||||
byteorder = { optional = true, version = "1" }
|
||||
bytes = { optional = true, version = "1" }
|
||||
crypto_secretbox = { optional = true, features = ["std"], version = "0.1" }
|
||||
dashmap = { optional = true, version = "5" }
|
||||
derivative = "2"
|
||||
discortp = { default-features = false, features = ["discord", "pnet", "rtp"], optional = true, version = "0.5" }
|
||||
@@ -50,7 +51,6 @@ twilight-model = { default-features = false, optional = true, version = "0.15.0"
|
||||
typemap_rev = { optional = true, version = "0.3" }
|
||||
url = { optional = true, version = "2" }
|
||||
uuid = { features = ["v4"], optional = true, version = "1" }
|
||||
xsalsa20poly1305 = { features = ["std"], optional = true, version = "0.9" }
|
||||
|
||||
[dependencies.serenity]
|
||||
version = "0.11"
|
||||
@@ -91,6 +91,7 @@ driver = [
|
||||
"dep:async-trait",
|
||||
"dep:audiopus",
|
||||
"dep:byteorder",
|
||||
"dep:crypto_secretbox",
|
||||
"dep:discortp",
|
||||
"dep:reqwest",
|
||||
"dep:flume",
|
||||
@@ -113,7 +114,6 @@ driver = [
|
||||
"dep:typemap_rev",
|
||||
"dep:url",
|
||||
"dep:uuid",
|
||||
"dep:xsalsa20poly1305",
|
||||
"tokio?/fs",
|
||||
"tokio?/io-util",
|
||||
"tokio?/macros",
|
||||
|
||||
Reference in New Issue
Block a user