Skip to content

Commit 663a3b2

Browse files
committed
Merge remote-tracking branch 'origin/master' into release-0.13.3
1 parent acf2f6f commit 663a3b2

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@
113113
#![cfg(feature = "std")]
114114
#![allow(clippy::manual_range_contains)]
115115
#![allow(clippy::new_without_default)]
116+
extern crate alloc;
116117

117118
mod traits;
118119
mod common;

src/reader/decoder.rs

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
use std::borrow::Cow;
2-
use std::cmp;
3-
use std::default::Default;
1+
use alloc::borrow::Cow;
2+
use alloc::boxed::Box;
3+
use alloc::fmt;
4+
use alloc::vec::Vec;
5+
use core::cmp;
6+
use core::default::Default;
7+
use core::mem;
8+
use core::num::NonZeroUsize;
9+
410
use std::error;
5-
use std::fmt;
611
use std::io;
7-
use std::mem;
8-
use std::num::NonZeroUsize;
912

1013
use crate::common::{AnyExtension, Block, DisposalMethod, Extension, Frame};
1114
use crate::reader::DecodeOptions;

0 commit comments

Comments
 (0)