Cargo Features
[dependencies]
sntpc = { version = "0.4.0", default-features = false, features = ["std", "utils", "async", "async_tokio", "log"] }
- default = std
-
The
std
feature is set by default wheneversntpc
is added without
somewhere in the dependency tree.default-features = false - std default async_tokio? utils?
-
Affects
sntpc::simple_get_time
… - utils = std
-
Affects
sntpc::utils
… - async async_tokio?
-
Affects
sntpc::async_impl
… - async_tokio = async, async-trait, std, tokio
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 implicit feature
-
Enables log
log:
A lightweight logging facade for Rust
- chrono utils?
- async-trait async_tokio?
- tokio async_tokio?
-
Affects
async_impl::NtpUdpSocket
…