Crate vsmtp
Expand description
vSMTP executable
Features flags
Customize the build with the following features flags:
Logging system
-
journald
— Enable the tracing layer implemtation for thejournald
backend.- build the project using
cargo build --features journald
.
- build the project using
-
syslog
— Enable the tracing layer implemtation for thesyslog
backend.- build the project using
cargo build --features syslog
.
- build the project using
Debugging & Monitoring
-
tokio_console
— Enable theconsole-subscriber
layer to collect and aggregate the runtime’stracing
data, and use a gRPC server to exports telemetry to clients.- build the project using
RUSTFLAGS="--cfg tokio_unstable" cargo build --features tokio_console
. - add
tokio=trace,runtime=trace
to the log level. - run
tokio-console
.
- build the project using
-
telemetry
— Enable thetracing-opentelemetry
layer, and theopentelemetry-jaeger
exporter.cargo build --features telemetry
Documentation
document-features
— Enable document-features to generate the documentation of the dependencies and features flags.
Structs
Enums
Functions
- Initialize the tracing subsystem.