Cargo Features

[dependencies]
sms-2dm = { version = "0.2.0", default-features = false, features = ["strict", "warn", "serde"] }
default = warn

The warn feature is set by default whenever sms-2dm is added without default-features = false somewhere in the dependency tree.

strict

Enable strict assertions. Anything that is not strictly-compliant will cause a hard error.

warn default = log

Log a warning for anything that is not strictly-compliant. Can be used together with strict.

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.

log warn
serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework