Cargo Features
[dependencies]
chorus = { version = "0.15.0", default-features = false, features = ["backend", "rt-multi-thread", "rt", "client", "voice", "voice_udp", "voice_gateway"] }
- default = client, rt-multi-thread
-
These default features are set whenever
chorus
is added without
somewhere in the dependency tree.default-features = false - backend
-
Enables poem ^1.3.59 and sqlx
- rt-multi-thread default
-
Enables rt-multi-thread of tokio
- rt
-
tokio:
Includes basic task execution capabilities
- client default
-
Affects
backends::tungstenite
,backends::wasm
,backends::Sink
,backends::Stream
,backends::WebSocketBackend
,backends::Sink
,backends::Stream
,backends::WebSocketBackend
,chorus::api
,chorus::gateway
,chorus::instance
,chorus::ratelimiter
,entities::Composite
,chorus::voice
… - voice = voice_gateway, voice_udp
- voice_udp voice?
-
Enables crypto_secretbox and discortp ^0.5.0
Affects
voice::udp
,voice::voice_data
,backends::tokio
,backends::UdpSocket
,backends::UdpBackend
,chorus::voice
… - voice_gateway voice?
-
Affects
backends::tungstenite
,backends::wasm
,backends::Sink
,backends::Stream
,backends::WebSocketBackend
,backends::Sink
,backends::Stream
,backends::WebSocketBackend
,voice::gateway
,chorus::voice
…