Skip to content

Commit

Permalink
runtime-lut feature requires alloc.
Browse files Browse the repository at this point in the history
  • Loading branch information
wreald committed Jul 22, 2024
1 parent 154f46e commit 581b468
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ alloc = []
std = ["alloc", "btoi/std", "nohash-hasher?/std"]
variant = []
nohash-hasher = ["dep:nohash-hasher"]
runtime-lut = ["dep:lazy_static"]
runtime-lut = ["alloc", "dep:lazy_static"]

[[bench]]
name = "benches"
Expand Down
2 changes: 1 addition & 1 deletion src/bootstrap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//! time.
#[cfg(feature = "runtime-lut")]
use std::boxed::Box;
use alloc::boxed::Box;

use crate::magics;

Expand Down

0 comments on commit 581b468

Please sign in to comment.