Cargo Features

[dependencies]
apub = { version = "0.2.0", default-features = false, features = ["full", "with-actix-web", "with-awc", "with-background-jobs", "with-openssl", "with-reqwest", "with-rustcrypto", "utils"] }
default = utils

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

full = utils, with-actix-web, with-awc, with-background-jobs, with-openssl, with-rustcrypto
with-actix-web full? = apub-actix-web
with-awc full? = apub-awc
with-background-jobs full? = apub-background-jobs
with-openssl full? = apub-openssl
with-reqwest = apub-reqwest
with-rustcrypto full? = apub-rustcrypto
utils default full? = apub-breaker-session, apub-ingest, apub-publickey, apub-simple-activitypub

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.

apub-actix-web with-actix-web?

Affects apub::servers

apub-awc with-awc?

Affects apub::clients.awc

apub-background-jobs with-background-jobs?

Affects apub::clients.background_jobs

apub-breaker-session utils
apub-ingest utils

Affects apub::ingest.validators

apub-openssl with-openssl?

Affects apub::cryptography.openssl

apub-publickey utils
apub-reqwest with-reqwest?

Affects apub::clients.reqwest

apub-rustcrypto with-rustcrypto?

Affects apub::cryptography.rustcrypto

apub-simple-activitypub utils