Cargo Features

[dependencies]
shuttle-serenity = { version = "0.49.0", default-features = false, features = ["rustls_backend", "native_tls_backend", "serenity-0-11-rustls_backend", "serenity-0-11-native_tls_backend"] }
default = rustls_backend

The rustls_backend feature is set by default whenever shuttle-serenity is added without default-features = false somewhere in the dependency tree.

rustls_backend default

Enables rustls_backend of serenity

serenity:

Backends to pick from:
- Rustls Backends

native_tls_backend

Enables native_tls_backend of serenity

serenity:

- Native TLS Backends

serenity-0-11-rustls_backend

Enables rustls_backend of serenity ^0.11.7

serenity-0-11-native_tls_backend

Enables native_tls_backend of serenity ^0.11.7

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

serenity native_tls_backend? rustls_backend
serenity-0-11 serenity-0-11-native_tls_backend? serenity-0-11-rustls_backend?

Enables serenity ^0.11.7