Cargo Features
[dependencies]
sntpc = { version = "0.5.2", default-features = false, features = ["std", "sync", "utils", "log", "std-socket", "embassy-socket", "tokio-socket", "defmt"] }
- default = std, std-socket
-
These default features are set whenever
sntpc
is added without
somewhere in the dependency tree.default-features = false - std default utils?
- sync
-
Enables miniloop
Affects
sntpc::sync
… - utils = std
-
Affects
sntpc::utils
… - log
-
Enables log
- std-socket default
- embassy-socket
-
Enables embassy-net
- tokio-socket
-
Enables tokio
- defmt
-
Enables defmt and defmt of embassy-net
embassy-net:
Enable defmt