Cargo Features

[dependencies]
pass-it-on = { version = "0.14.3", default-features = false, features = ["client", "discord", "email", "endpoints", "file", "http", "http-client", "http-server", "interfaces", "matrix", "parse-cfg", "pipe", "pipe-server", "server", "server-bin-full", "server-bin-minimal", "vendored-tls", "bundled-sqlite"] }
default = client, server-bin-full

These default features are set whenever pass-it-on is added without default-features = false somewhere in the dependency tree.

client default = interfaces, tokio

Enables log, signal and time of tokio

Affects configuration::ClientConfiguration, configuration::client_configuration_file

discord server-bin-full = endpoints, reqwest

Enables log

Affects endpoints::discord

email server-bin-full = endpoints

Enables log and mail-send

Affects endpoints::email

endpoints discord? email? file? matrix? server?

Enables async-trait, dyn-clone, and typetag

Affects pass-it-on::endpoints

file server-bin-full = endpoints

Enables log, io-util of tokio

Affects endpoints::file

http server-bin-full = http-client, http-server
http-client http? = interfaces, reqwest

Enables log and url

Affects interfaces::http

http-server http? = interfaces

Enables log, url, and warp

Affects interfaces::http

interfaces client http-client? http-server? pipe-client? pipe-server? server?

Enables async-trait, dyn-clone, and typetag

Affects pass-it-on::interfaces

matrix server-bin-full = endpoints

Enables futures-util, log, matrix-sdk, and url

Affects endpoints::matrix, server::verify_matrix_devices

parse-cfg server-bin-minimal?

Enables toml

Affects configuration::client_configuration_file, configuration::server_configuration_file

pipe server-bin-full = pipe-client, pipe-server

Affects interfaces::pipe

pipe-client pipe-server pipe? = interfaces

Enables log and nix, io-util of tokio

Affects interfaces::pipe

server server-bin-minimal? = endpoints, interfaces, tokio

Enables log, signal and time of tokio

Affects configuration::ServerConfiguration, configuration::server_configuration_file

server-bin-full default = discord, email, file, http, matrix, pipe, server-bin-minimal
server-bin-minimal server-bin-full = parse-cfg, server

Enables clap, directories, and simple_logger ^4.2

Required by the pass-it-on-server binary

vendored-tls

Enables native-tls-vendored of reqwest ^0.11

bundled-sqlite

Enables bundled-sqlite of optional matrix-sdk

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 discord? http-client? vendored-tls?

Enables reqwest ^0.11

tokio client file? pipe-client? pipe-server? server?