[][src]Crate sntp

A Simple Network Time Protocol (SNTP) client implementation using smoltcp.

This crate has been developed with #![no_std] use in mind: it doesn't perform heap allocations, and does not rely on the alloc feature of smoltcp.

For convenience, this crate re-exports smoltcp under the net name.

Examples

An example on how to use this crate can be found in the source repository.

Features

The following features can be enabled at the crate level:

log

Enable logging for network activity. Useful to debug the client operation.

Disabled by default

Re-exports

pub use smoltcp as net;

Structs

Client

SNTPv4 client.