Driver: Support tokio-websockets (#226)

* Driver: Support `tokio-websockets`

* Fix bad feature flag

* Fix CI & examples features

* Use tungstenite in twilight example

* Error if none or both ws features are enabled

* Match `twilight-gateway` features
This commit is contained in:
Carson M
2024-02-28 14:47:09 -06:00
committed by Kyle Simpson
parent 0d6a226910
commit c4331c451f
6 changed files with 108 additions and 15 deletions

View File

@@ -48,13 +48,13 @@ jobs:
os: windows-latest
dont-test: true
- name: driver only
features: driver rustls
features: driver tungstenite rustls
dont-test: true
- name: gateway only
features: gateway serenity rustls
features: gateway serenity tungstenite rustls
dont-test: true
- name: simd json
features: simd-json serenity rustls driver gateway serenity?/simd_json
features: simd-json serenity tungstenite rustls driver gateway serenity?/simd_json
rustflags: -C target-cpu=native
dont-test: true
steps: