Update Rust crate base32 to 0.5.0 #24

Merged
pierre merged 2 commits from renovate/base32-0.x into master 2024-05-23 09:34:16 +00:00
Showing only changes of commit bcfd55eb5c - Show all commits

View File

@ -77,7 +77,7 @@ fn main() {
.set_hash_algorithm(HashAlgorithm::SHA1)
.build();
let key = base32::decode(Alphabet::RFC4648 { padding: true }, &secret).unwrap();
let key = base32::decode(Alphabet::Rfc4648 { padding: true }, &secret).unwrap();
let code = totp_generator.get_code(&key);
let next_update = totp_generator.get_next_update_time().unwrap();