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 wheneversms-2dm
is added without
somewhere in the dependency tree.default-features = false - 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.