Cargo Features

lemmy_api_common has no features set by default.

[dependencies]
lemmy_api_common = { version = "0.19.4-beta.6", features = ["full"] }
full = activitypub_federation, actix-web, encoding, futures, jsonwebtoken, mime, once_cell, reqwest, reqwest-middleware, rosetta-i18n, tokio, tracing, ts-rs, uuid, webpage

Enables full of lemmy_db_views, lemmy_db_views_actor, lemmy_db_views_moderator, and lemmy_utils

Affects lemmy_api_common::build_response, lemmy_api_common::claims, lemmy_api_common::context, lemmy_api_common::request, lemmy_api_common::send_activity, lemmy_api_common::utils

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.

activitypub_federation full?
tracing full?
reqwest-middleware full?

Enables reqwest-middleware ^0.2.5

rosetta-i18n full?
futures full?
uuid full?
tokio full?
reqwest full?

Enables reqwest ^0.11.27

ts-rs full?

Enables ts-rs ^7.1.1

once_cell full?
actix-web full?
mime full?
webpage full?

Enables webpage ^1.6

encoding full?
jsonwebtoken full?

Enables jsonwebtoken ^8.3.0