Cargo Features

[dependencies]
frankenstein = { version = "0.30.8", default-features = false, features = ["http-client", "telegram-trait", "async-http-client", "async-telegram-trait"] }
default = http-client

The http-client feature is set by default whenever frankenstein is added without default-features = false somewhere in the dependency tree.

http-client default = mime_guess, multipart, serde_json, telegram-trait, ureq

Affects api::telegram_api_impl, frankenstein::api

telegram-trait http-client

Affects api_traits::telegram_api, frankenstein::api_traits

async-http-client = async-telegram-trait, reqwest, serde_json, tokio

Affects api::async_telegram_api_impl, frankenstein::api

async-telegram-trait async-http-client? = async-trait

Affects api_traits::async_telegram_api, frankenstein::api_traits

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.

serde_json async-http-client? http-client
tokio async-http-client?
async-trait async-telegram-trait?
mime_guess http-client
multipart http-client
reqwest async-http-client?
ureq http-client