refactor: rearrange code

This commit is contained in:
鲁树人
2024-09-14 01:33:23 +01:00
parent af965ee0cc
commit 7b283a5a14
2 changed files with 6 additions and 5 deletions

View File

@@ -1,5 +1,7 @@
use base64::engine::{DecodePaddingMode, GeneralPurpose as Base64Engine, GeneralPurposeConfig};
use base64::{alphabet, DecodeError, Engine};
use base64::{alphabet, Engine};
pub use base64::DecodeError;
/// Don't add padding when encoding, and require no padding when decoding.
pub const ENGINE: Base64Engine = Base64Engine::new(