Cargo Features

[dependencies]
samotop-delivery = { version = "0.13.1", default-features = false, features = ["unstable", "serde-impls", "file-transport", "smtp-transport", "sendmail-transport", "skip-benches", "journal-transport"] }

harness = false

default = file-transport, journal-transport, sendmail-transport, skip-benches, smtp-transport

These default features are set whenever samotop-delivery is added without default-features = false somewhere in the dependency tree.

unstable
serde-impls file-transport = serde, serde_derive
file-transport default = serde-impls, serde_json

Affects samotop-delivery::file

smtp-transport default = base64, hostname, nom

Affects samotop-delivery::smtp

sendmail-transport default

Affects samotop-delivery::sendmail

skip-benches default
journal-transport default = lozizol, uuid

Enables tasks of lozizol

Affects samotop-delivery::journal

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

nom smtp-transport

Enables default features of nom ^6.0

base64 smtp-transport

Enables default (std) of base64 ^0.13

hostname smtp-transport
serde serde-impls?

With default (std)

serde_json file-transport

With default (std)

serde_derive serde-impls?
lozizol journal-transport
uuid journal-transport

Enables v4 and default (std) of uuid ^0.8