Cargo Features

[dependencies]
pass-it-on = { version = "0.16.1", 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", "bundled-sqlite", "rustls-tls-native-roots"] }
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 tracing, signal and time of tokio

Affects configuration::ClientConfiguration, configuration::client_configuration_file

discord server-bin-full = endpoints, reqwest

Enables tracing

Affects endpoints::discord

email server-bin-full = endpoints

Enables mail-send and tracing

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 tracing, io-util of tokio

Affects endpoints::file

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

Enables tracing and url

Affects interfaces::http

http-server http? = interfaces

Enables axum, axum-server, rustls, tracing, and url

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, matrix-sdk ^0.7, tracing, 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 nix, tracing, io-util of tokio

Affects interfaces::pipe

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

Enables tracing, 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 tracing-subscriber

Required by the pass-it-on-server binary

bundled-sqlite

Enables bundled-sqlite of optional matrix-sdk ^0.7

rustls-tls-native-roots

Enables rustls-tls-native-roots of optional reqwest

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?
tokio client file? pipe-client? pipe-server? server?