Grid/width depends on height tests (#300)
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#![forbid(unsafe_code)]
7
8// We always need std for the tests
9// See <https://github.com/la10736/rstest/issues/149#issuecomment-1156402989>
10#[cfg(all(test, not(feature = "std")))]
11#[macro_use]
12extern crate std;
13
14#[cfg(all(not(feature = "std"), feature = "alloc"))]
15extern crate alloc;
16
17#[cfg_attr(feature = "serde", macro_use)]
18#[cfg(feature = "serde")]
19extern crate serde;
20
21pub mod axis;
22#[doc(hidden)]
23pub mod debug;
24pub mod error;
25pub mod geometry;
26pub mod layout;
27pub mod math;
28pub mod node;
29pub mod prelude;
30pub mod style;
31pub mod style_helpers;
32pub mod tree;
33
34#[cfg(feature = "random")]
35pub mod randomizable;
36
37mod compute;
38mod data;
39mod resolve;
40mod sys;
41
42pub use crate::compute::compute_layout;
43pub use crate::node::Taffy;