1#![doc = include_str!("../README.md")]
2#![cfg_attr(not(feature = "std"), no_std)]
3#![deny(unsafe_code)]
4#![warn(missing_docs)]
5#![warn(clippy::missing_docs_in_private_items)]
6
7#[cfg(all(not(feature = "std"), feature = "alloc"))]
8extern crate alloc;
9
10#[cfg_attr(feature = "serde", macro_use)]
11#[cfg(feature = "serde")]
12extern crate serde;
13
14pub mod error;
15pub mod geometry;
16pub mod layout;
17pub mod node;
18pub mod number;
19pub mod prelude;
20pub mod style;
21
22mod flexbox;
23mod forest;
24#[cfg(all(not(feature = "alloc"), not(feature = "std")))]
25mod indexmap;
26mod sys;
27
28pub use crate::node::Taffy;