Releases: tmthecoder/xotp
Releases · tmthecoder/xotp
v0.4.0
- Breaking Change the HOTP & TOTP OTP getter methods to return an instance of
OTPResultinstead ofu32- Made in order to allow for the
as_stringconvenience formatter that provides a correct length zero-padded string - The
u32representation of the code can also be returned withas_u32if desired
- Made in order to allow for the
- Add in
time_until_refreshandtime_until_refresh_with_startto provide a convenient way to get time until a refresh is needed
v0.3.0
- Remove the "ffi" feature as it was incompatible with the structs. Passing them as an opaque pointer is a better idea.
v0.2.0
- Support parsing an HOTP/TOTP instance from an otpauth URI (Thanks to @orion78fr)
- Add in an "ffi" feature to make all structs & enums C-compatible with the
#[repr(C)]attribute
v0.1.0
First release, comes with HOTP and TOTP functionality