gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 5364Rust 86Markdown 12TOML 91841 Definiciones

⎇ b1ea6794519524c818057af327f78c09ff379453 src/lib.rs Rust · 28 líneas · 584 B Historia Quién tocó qué crudo

Replace Number type with a simpler Option<f32> (#144) b1ea67945 · Alice Cecile ·

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 math;
18pub mod node;
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;