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 the journald backend.

    • build the project using cargo build --features journald.
  • syslog — Enable the tracing layer implemtation for the syslog backend.

    • build the project using cargo build --features syslog.

Debugging & Monitoring

  • tokio_console — Enable the console-subscriber layer to collect and aggregate the runtime’s tracing 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.
  • telemetry — Enable the tracing-opentelemetry layer, and the opentelemetry-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