waterui_text/
lib.rs

1//! Text components and utilities for the `WaterUI` framework.
2//!
3//! This crate provides comprehensive text rendering and formatting capabilities,
4//! including fonts, attributed text, and internationalization support.
5//!
6//! Note: The `Link` component has been moved to the main `waterui` crate
7//! where it can use `robius-open` for URL handling.
8
9#![allow(clippy::future_not_send)]
10#![no_std]
11
12/// Font utilities and definitions.
13pub mod font;
14/// Syntax highlighting support.
15pub mod highlight;
16/// Localization and formatting utilities.
17pub mod locale;
18/// Styled text support for rich text formatting.
19pub mod styled;
20/// Macros for convenient text creation.
21#[macro_use]
22pub mod macros;
23extern crate alloc;
24
25/// Core text component.
26pub mod text;
27pub use text::{Text, TextConfig, text};
28
29pub use nami as __nami;