Cargo Features

[dependencies]
mangadex-api = { version = "3.3.0", default-features = false, features = ["multi-thread", "rw-multi-thread", "legacy-auth", "legacy-user-delete", "utils", "non_exhaustive", "deserializable-endpoint", "serialize", "oauth", "custom_list_v2"] }
default = oauth

The oauth feature is set by default whenever mangadex-api is added without default-features = false somewhere in the dependency tree.

multi-thread = futures

Affects http_client::HttpClientRef

tokio-multi-thread rw-multi-thread

Enables sync of tokio

Affects http_client::HttpClientRef

legacy-auth

Affects auth::login, auth::logout, auth::refresh

legacy-user-delete

Affects post::ApproveUserDeletion, user::delete

utils

Enables tokio and tokio-stream, anyhow, async-stream, and bytes, stream of reqwest

non_exhaustive

Enables non_exhaustive of mangadex-api-schema-rust and mangadex-api-types-rust

deserializable-endpoint

Enables getset

serialize

Enables serialize of mangadex-api-schema-rust

oauth default

Affects http_client::HttpClient

custom_list_v2

Affects id::bookmark, id::default, id::manga, id::pin, id::unpin, id::bookmark, id::bookmark

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.

futures multi-thread?