aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2025-06-27 05:02:32 +0000
committeriximeow <me@iximeow.net>2025-10-19 23:29:05 +0000
commitb9b6bb943663a0cd09d039383903d5725fbe034b (patch)
tree0022ceb857127718fd8b0d289a97ed45a67d5f5e /src/lib.rs
parent7c46d5cdc9fdfbc3663a3627d522a259683f594c (diff)
visitor-oriented fmt
this makes a decode+format benchmark drop from 75s to 14s... (decode is 5s)
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 3afdd60..8e0c4a5 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -48,6 +48,8 @@
#![no_std]
#![deny(missing_docs)]
+#[cfg(feature="alloc")]
+extern crate alloc;
#[cfg(feature="use-serde")]
#[macro_use] extern crate serde_derive;
#[cfg(feature="use-serde")]