Cargo Features

[dependencies]
serenity_utils = { version = "0.7.0", default-features = false, features = ["default_native_tls", "cache", "rustls_backend", "native_tls_backend"] }
default = cache, rustls_backend

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

default_native_tls = cache, native_tls_backend
cache default default_native_tls?

Enables cache of serenity ^0.11

serenity:

Enables the cache, which stores the data received from Discord gateway to provide access to complete guild data, channels, users and more without needing HTTP requests.

Affects conversion::Conversion.from_guild_and_str

rustls_backend default = tokio

Enables rustls_backend of serenity ^0.11

serenity:

Backends to pick from:
- Rustls Backends

native_tls_backend default_native_tls? = tokio

Enables native_tls_backend of serenity ^0.11

serenity:

- Native TLS Backends

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.

tokio native_tls_backend? rustls_backend