Support for Twilight 0.16 (#227)

This commit is contained in:
Erk
2025-01-14 08:00:34 +01:00
committed by Kyle Simpson
parent 1c52e6ebc0
commit b46a568fb5
6 changed files with 76 additions and 70 deletions

View File

@@ -57,7 +57,7 @@ symphonia = { default-features = false, optional = true, version = "0.5.2" }
symphonia-core = { optional = true, version = "0.5.2" }
tokio = { default-features = false, optional = true, version = "1.0" }
tokio-tungstenite = { optional = true, version = "0.24", features = ["url"] }
tokio-websockets = { optional = true, version = "0.7", features = [
tokio-websockets = { optional = true, version = "0.11", features = [
"client",
"fastrand",
"sha1_smol",
@@ -66,8 +66,8 @@ tokio-websockets = { optional = true, version = "0.7", features = [
tokio-util = { features = ["io"], optional = true, version = "0.7" }
tracing = { version = "0.1", features = ["log"] }
tracing-futures = "0.2"
twilight-gateway = { default-features = false, optional = true, version = "0.15.0" }
twilight-model = { default-features = false, optional = true, version = "0.15.0" }
twilight-gateway = { default-features = false, optional = true, version = "0.16.0" }
twilight-model = { default-features = false, optional = true, version = "0.16.0" }
typenum = { optional = true, version = "1.17.0" }
url = { optional = true, version = "2" }
uuid = { features = ["v4"], optional = true, version = "1" }
@@ -145,7 +145,7 @@ native = [
"stream_lib?/native-tls",
"tokio-tungstenite?/native-tls",
"tokio-websockets?/native-tls",
"twilight-gateway?/native",
"twilight-gateway?/native-tls",
]
tungstenite = ["dep:tokio-tungstenite"]
tws = ["dep:tokio-websockets"]