Songbird: Tokio 1.0 (#36)

Migrates to the new version of tokio, requiring channel and sleep changes in a few locations. Additionally points to the in-tree v0.3 version of twilight.
This commit is contained in:
Kyle Simpson
2021-01-06 13:01:14 +00:00
committed by GitHub
parent d42e09f72b
commit f05b7414a0
14 changed files with 57 additions and 49 deletions

View File

@@ -9,11 +9,11 @@ futures = "0.3"
tracing = "0.1"
tracing-subscriber = "0.2"
serde_json = { version = "1" }
tokio = { features = ["macros", "rt-threaded", "sync"], version = "0.2" }
twilight-gateway = "0.2"
twilight-http = "0.2"
twilight-model = "0.2"
twilight-standby = "0.2"
tokio = { features = ["macros", "rt-multi-thread", "sync"], version = "1" }
twilight-gateway = { git = "https://github.com/twilight-rs/twilight", branch = "v0.3" }
twilight-http = { git = "https://github.com/twilight-rs/twilight", branch = "v0.3" }
twilight-model = { git = "https://github.com/twilight-rs/twilight", branch = "v0.3" }
twilight-standby = { git = "https://github.com/twilight-rs/twilight", branch = "v0.3" }
[dependencies.songbird]
path = "../.."