Cargo Features

[dependencies]
invidious = { version = "0.7.4", default-features = false, features = ["reqwest_sync", "reqwest_async", "ureq_sync", "httpreq_sync", "minreq_http_sync", "minreq_sync", "minreq", "isahc_sync", "isahc_async", "async", "sync"] }
default = httpreq_sync

The httpreq_sync feature is set by default whenever invidious is added without default-features = false somewhere in the dependency tree.

reqwest_sync = sync

Enables blocking of reqwest ^0.11

reqwest_async = async, reqwest
ureq_sync = sync

Enables ureq

httpreq_sync default = sync

Enables http_req ^0.9

minreq_http_sync = sync

Enables minreq

minreq_sync = sync

Enables https of minreq

minreq minreq_sync?

Enables minreq

isahc_sync = sync

Enables isahc

isahc_async = async

Enables isahc

async isahc_async? reqwest_async? = async-trait

Affects client::ClientAsync, methods::MethodAsync, clients::ClientAsyncTrait, clients::ClientAsyncClone, public_items::PublicItems.fetch_async

sync httpreq_sync isahc_sync? minreq_http_sync? minreq_sync? reqwest_sync? ureq_sync?

Affects client::ClientSync, methods::MethodSync, clients::ClientSyncTrait, clients::ClientSyncClone, public_items::PublicItems.fetch_sync

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.

reqwest reqwest_async? reqwest_sync?

Enables reqwest ^0.11

async-trait async?