Releases: tmthecoder/xotp
Releases · tmthecoder/xotp
v0.4.0
- Breaking Change the HOTP & TOTP OTP getter methods to return an instance of
OTPResult
instead ofu32
- Made in order to allow for the
as_string
convenience formatter that provides a correct length zero-padded string - The
u32
representation of the code can also be returned withas_u32
if desired
- Made in order to allow for the
- Add in
time_until_refresh
andtime_until_refresh_with_start
to 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