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 default-features = false somewhere in the dependency tree.

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.

attohttpc client
serde_cbor common
smaz news sms
derive-try-from-primitive location
serde_bytes common
bitflags location
clap cli

Enables clap ^3.2.25

humantime cli
anyhow cli client
url cli client
tungstenite client

Enables tungstenite ^0.21.0

uuid news