Cargo Features

[dependencies]
elevenlabs_rs = { version = "0.5.1", default-features = false, features = ["playback", "admin", "convai", "genai", "ws", "rustls", "rustls-webpki-roots", "native-tls", "native-tls-vendored"] }
default = admin, genai, playback

These default features are set whenever elevenlabs_rs is added without default-features = false somewhere in the dependency tree.

Enables tokio-tungstenite ^0.23.0 and default-tls of reqwest

reqwest:

Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.

playback default

Enables rodio ^0.17.1

admin default

Affects endpoints::admin

convai

Affects endpoints::convai

genai default

Affects endpoints::genai

ws

Affects tts::ws

rustls

Enable rustls for TLS support

Enables rustls-tls-native-roots of reqwest, rustls of tokio-tungstenite ^0.23.0

rustls-webpki-roots

Enable rustls and webpki-roots

Enables rustls-tls-webpki-roots of reqwest, rustls of tokio-tungstenite ^0.23.0

native-tls

Enable native-tls for TLS support

Enables tokio-tungstenite ^0.23.0, native-tls of reqwest

native-tls-vendored

Remove dependency on OpenSSL

Enables tokio-tungstenite ^0.23.0, native-tls-vendored of reqwest