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

std default async_tokio? utils?

Affects sntpc::simple_get_time

utils = std

Enables clock of chrono

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