gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 231Rust 8TOML 3CSS 1317 Definitions

Only build debug module if std feature is enabled

7d6d4cda19b1c4e3466b1f0d2587a5b641888cba · by Nico Burns · (3 years ago) · parent 1b941470a · browse the tree at this commit

Semantic delta

No definition changed: this change is text, documentation or data.

1 files · +1 −0

diff --git a/src/lib.rs b/src/lib.rs
index eec4cb80c..cb0151a5b 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -19,6 +19,7 @@ extern crate alloc;
 extern crate serde;
 
 pub mod axis;
+#[cfg(feature = "std")]
 #[doc(hidden)]
 pub mod debug;
 pub mod error;