diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -15,12 +15,6 @@ mod ocr; use history::{History, NoETA}; -// When the `wee_alloc` feature is enabled, use `wee_alloc` as the global -// allocator. -#[cfg(feature = "wee_alloc")] -#[global_allocator] -static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT; - async fn blob_to_image(blob: Blob) -> DynamicImage { let image_data = gloo::file::futures::read_as_bytes(&blob.into()) .await |