Skip to content

Commit

Permalink
Bump version to 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dobaksz committed Jan 31, 2024
1 parent 8d3855c commit ae782db
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rsntp"
version = "3.0.2"
version = "4.0.0"
authors = ["Szilveszter Dobák <dobaksz@gmail.com>"]
repository = "https://github.com/dobaksz/rsntp"
documentation = "https://docs.rs/rsntp"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ae782db

Please sign in to comment.