Skip to content

Commit

Permalink
sntpc: Update library crate
Browse files Browse the repository at this point in the history
  • Loading branch information
vpetrigo committed Jan 7, 2024
1 parent 72f7e2f commit 09cbb60
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "sntpc"
version = "0.3.6"
version = "0.3.7"
description = "Library for making SNTP requests"
homepage = "https://github.com/vpetrigo/sntpc"
repository = "https://github.com/vpetrigo/sntpc"
documentation = "https://docs.rs/sntpc"
readme = "README.md"
categories = ["date-and-time", "no-std", "embedded"]
categories = ["date-and-time", "no-std", "embedded", "asynchronous"]
keywords = ["sntp", "ntp", "sntp-client", "ntp-client"]
license = "BSD-3-Clause"
authors = ["Vladimir Petrigo <[email protected]>"]
Expand Down
6 changes: 4 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//! Put this in your `Cargo.toml`:
//! ```cargo
//! [dependencies]
//! sntpc = "0.3.6"
//! sntpc = "0.3.7"
//! ```
//!
//! ## Features
Expand All @@ -21,6 +21,7 @@
//! - `std`: includes functionality that depends on the standard library
//! - `utils`: includes functionality that mostly OS specific and allows system time sync
//! - `log`: enables library debug output during execution
//! - `async`: enables asynchronous feature support
//!
//! <div class="example-wrap" style="display:inline-block"><pre class="compile_fail" style="white-space:normal;font:inherit;">
//!
Expand Down Expand Up @@ -97,6 +98,8 @@
//!
//! For more complex example with custom timestamp generator and UDP socket implementation, see
//! `examples/smoltcp_request.rs`.
//!
//! For usage SNTP-client in an asynchronous environment, see `examples/tokio.rs`
#![cfg_attr(not(feature = "std"), no_std)]

#[cfg(feature = "utils")]
Expand Down Expand Up @@ -826,7 +829,6 @@ mod sntpc_tests {
"time.apple.com:123",
"time.cloudflare.com:123",
"time.facebook.com:123",
"stratum1.net:123",
];

for pool in &pools {
Expand Down

0 comments on commit 09cbb60

Please sign in to comment.