pub(crate) use data_encoding::BASE32_NOPAD as BASE32_RFC;
use data_encoding::{Encoding, Specification};
use once_cell::sync::Lazy;
pub(crate) static BASE32_CROCKFORD: Lazy<Encoding> = Lazy::new(|| {
let mut spec = Specification::new();
spec.symbols.push_str("0123456789abcdefghjkmnpqrstvwxyz"); spec.padding = None;
spec.encoding().unwrap()
});
#[cfg(feature = "legacy")]
pub(crate) static BASE32_RFC_LOWER: Lazy<Encoding> = Lazy::new(|| {
let mut spec = Specification::new();
spec.symbols.push_str("abcdefghijklmnopqrstuvwxyz234567"); spec.padding = None;
spec.encoding().unwrap()
});