This commit is contained in:
Andras Schmelczer 2024-12-20 18:47:45 +00:00
parent 8003f7b0f3
commit 74ef46c1f7
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C

View file

@ -10,7 +10,7 @@ pub mod errors;
// allocator.
#[cfg(feature = "wee_alloc")]
#[global_allocator]
static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT;
static ALLOC: wee_alloc::WeeAlloc<'_> = wee_alloc::WeeAlloc::INIT;
#[wasm_bindgen]
pub fn bytes_to_base64(input: &[u8]) -> String { STANDARD_NO_PAD.encode(input) }