From ae782dbf1acb0c888e956b144650a57b603473f7 Mon Sep 17 00:00:00 2001 From: Szilveszter Dobak Date: Wed, 31 Jan 2024 23:01:40 +0100 Subject: [PATCH] Bump version to 4.0.0 --- CHANGELOG.md | 5 +++++ Cargo.toml | 2 +- README.md | 4 ++-- src/lib.rs | 4 ++-- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 04bb87a..3ec8bb1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changlelog +## 4.0.0 +- Correct typo in SynchronizationError (might break compilation) +- Helper function to check for Kiss-o'-death +- SntpDateTime is now convertible to SystemTime + ## 3.0.2 - Added Default trait implementation for Config struct - Documentation corrections diff --git a/Cargo.toml b/Cargo.toml index 94b20b2..eaeea86 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rsntp" -version = "3.0.2" +version = "4.0.0" authors = ["Szilveszter Dobák "] repository = "https://github.com/dobaksz/rsntp" documentation = "https://docs.rs/rsntp" diff --git a/README.md b/README.md index c2bd916..8939b48 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Add this to your `Cargo.toml`: ```toml [dependencies] -rsntp = "3.0.2" +rsntp = "4.0.0" ``` Obtain the current local time with the blocking API: @@ -103,7 +103,7 @@ the amount of dependencies significantly. ```toml [dependencies] -rsntp = { version = "3.0.2", default-features = false, features = ["chrono"] } +rsntp = { version = "4.0.0", default-features = false, features = ["chrono"] } ``` ## System clock assumptions diff --git a/src/lib.rs b/src/lib.rs index aa149f3..34c5b9e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -18,7 +18,7 @@ Add this to your `Cargo.toml`: ```toml [dependencies] -rsntp = "3.0.2" +rsntp = "4.0.0" ``` Obtain the current local time with the blocking API: @@ -111,7 +111,7 @@ the amount of dependencies significantly. ```toml [dependencies] -rsntp = { version = "3.0.2", default-features = false, features = ["chrono"] } +rsntp = { version = "4.0.0", default-features = false, features = ["chrono"] } ``` ## System clock assumptions