Skip to content

Commit 1ba61c7

Browse files
committed
bump version and add changelog
1 parent 2a817f3 commit 1ba61c7

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

CHANGELOG.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
## 0.3.6
1+
## 0.4.0
2+
- **Breaking** Change the HOTP & TOTP OTP getter methods to return an instance of `OTPResult` instead of `u32`
3+
- Made in order to allow for the `as_string` convenience formatter that provides a correct length zero-padded string
4+
- The `u32` representation of the code can also be returned with `as_u32` if desired
5+
- Add in `time_until_refresh` and `time_until_refresh_with_start` to provide a convenient way to get time until a refresh is needed
6+
7+
## 0.3.0
28
- Remove the "ffi" feature as it was incompatible with the structs. Passing them as an opaque pointer is a better idea.
39

410
## 0.2.0

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ license = "MIT"
77
keywords = ["otp", "hotp", "totp", "otpauth"]
88
categories = ["cryptography"]
99
authors = ["Tejas Mehta <[email protected]>"]
10-
version = "0.3.0"
10+
version = "0.4.0"
1111
edition = "2021"
1212

1313
[dependencies]

0 commit comments

Comments
 (0)