Gateway: Twilight v0.9 support (#110)

This handles twilight's migration to a unified `Id` type, which is the only design change needing any handling on our part. All our `From`/`Into`s are covered now, and deprecated type aliases are no longer used.

This was tested using `cargo make ready` and by manually running "examples/twilight".
This commit is contained in:
Kyle Simpson
2022-01-24 14:39:30 +00:00
parent b4ce84546b
commit 0730a00dc7
6 changed files with 28 additions and 28 deletions

View File

@@ -105,12 +105,12 @@ default-features = false
[dependencies.twilight-gateway]
optional = true
version = "0.8"
version = "0.9"
default-features = false
[dependencies.twilight-model]
optional = true
version = "0.8"
version = "0.9"
default-features = false
[dependencies.typemap_rev]
@@ -185,7 +185,7 @@ rustls = ["async-tungstenite/tokio-rustls-webpki-roots", "rustls-marker"]
native = ["async-tungstenite/tokio-native-tls", "native-marker"]
serenity-rustls = ["serenity/rustls_backend", "rustls", "gateway", "serenity-deps"]
serenity-native = ["serenity/native_tls_backend", "native", "gateway", "serenity-deps"]
twilight-rustls = ["twilight", "twilight-gateway/rustls", "rustls", "gateway"]
twilight-rustls = ["twilight", "twilight-gateway/rustls-native-roots", "rustls", "gateway"]
twilight-native = ["twilight", "twilight-gateway/native", "native", "gateway"]
twilight = ["twilight-model"]
zlib-simd = ["twilight-gateway/zlib-simd"]