Cargo Features

[dependencies]
new-tokio-smtp = { version = "0.9.1", default-features = false, features = ["send-mail", "mock-support", "mock-impl", "log"] }
default = log, send-mail

These default features are set whenever new-tokio-smtp is added without default-features = false somewhere in the dependency tree.

send-mail default = vec1

Affects new-tokio-smtp::send_mail

mock-support mock-impl?
mock-impl = mock-support, rand

Affects new-tokio-smtp::mock

log default = log-facade

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.

rand mock-impl?

Enables rand ^0.5.5

vec1 send-mail
log-facade log

Enables log