Cargo Features

mastodon-async has no features set by default.

[dependencies]
mastodon-async = { version = "1.3.2", features = ["all", "env", "mt", "json", "rustls-tls"] }
default

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

Enables default-tls of reqwest ^0.11

reqwest:

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

all = env, json, mt, toml
env all? = envy

Affects helpers::env

mt all?

Enables rt-multi-thread of tokio

json all?

Affects helpers::json

rustls-tls

Enables rustls-tls of reqwest ^0.11

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.

envy env?
toml all?

Enables toml ^0.7

Affects helpers::toml