Skip to content
This repository has been archived by the owner on May 21, 2020. It is now read-only.
/ sntp-rs Public archive

A Simple Network Time Protocol (SNTP) client in Rust using smoltcp

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

plorefice/sntp-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ DEPRECATION WARNING! ⚠️

This crate has been deprecated in favor of smolapps, a collection of similar crates.

sntp-rs

crates.io badge docs.rs badge

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.

Requirements

  • Rust 1.43+

Examples

See the examples directory for an example on how to use this crate in a hosted Linux environment. For bare-metal examples, refer to the documentation and the loopback example of smoltcp.

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.

License

Copyright © 2020 Pietro Lorefice

Dual licensed under your choice of either of:

About

A Simple Network Time Protocol (SNTP) client in Rust using smoltcp

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages