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 wheneverfrankenstein
is added without
somewhere in the dependency tree.default-features = false - 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.