Cargo Features
[dependencies]
pass-it-on = { version = "0.16.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", "bundled-sqlite", "rustls-tls-native-roots"] }
- default = client, server-bin-full
-
These default features are set whenever
pass-it-on
is added without
somewhere in the dependency tree.default-features = false - 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
-
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
-
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.8, 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.8
- 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.