Cargo Features
[dependencies]
dtn7-plus = { version = "0.7.2", default-features = false, features = ["client", "sms", "news", "common", "location", "cli"] }
- default = cli, client, common, location, news, sms
-
These default features are set whenever
dtn7-plus
is added without
somewhere in the dependency tree.default-features = false - client default cli = anyhow, attohttpc, common, tungstenite, url
-
Affects
dtn7-plus::client
… - sms default = common, smaz
-
Affects
dtn7-plus::sms
… - news default = common, smaz, uuid
-
Affects
dtn7-plus::news
…Required by the d7news binary
- common default client location news sms = serde_bytes, serde_cbor
- location default = bitflags, common, derive-try-from-primitive
-
Affects
dtn7-plus::location
…Required by dtngpslogger and dtngpsreceiver binaries
- cli default = anyhow, clap, client, humantime, url
-
Required by d7news, dtngpslogger and dtngpsreceiver binaries
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.