1 stable release

2.0.0 Mar 22, 2021
1.0.1 Mar 22, 2021

#15 in #ntp

Download history 14/week @ 2025-12-30 43/week @ 2026-01-06 34/week @ 2026-01-13 36/week @ 2026-01-20 62/week @ 2026-01-27 49/week @ 2026-02-03 15/week @ 2026-02-10 27/week @ 2026-02-17 24/week @ 2026-02-24 10/week @ 2026-03-03 30/week @ 2026-03-10 58/week @ 2026-03-17 45/week @ 2026-03-24 40/week @ 2026-03-31 26/week @ 2026-04-07 23/week @ 2026-04-14

140 downloads per month
Used in 5 crates

MIT license

41KB
568 lines

Nippy   Build Status Latest Version Docs

Purpose

The purpose of this library is to be your async ntp utility.

This is a fork of the crate ntp that adds support for async-std, tokio, and Rust 2018.

Install

async-std


nippy = "2"

Tokio


nippy = { version="2", default-features=false, features=["tokio-runtime"] }

Use


nippy::get_unix_ntp_time().await.unwrap();

This will return an i64 that is the unix ntp timestamp from pool ntp server.

Dependencies

~4–9.5MB
~192K SLoC