| Crates.io | ratatui-core |
| lib.rs | ratatui-core |
| version | 0.1.0-alpha.6 |
| created_at | 2024-09-27 23:20:26.186494+00 |
| updated_at | 2025-06-30 11:54:54.978916+00 |
| description | Core types and traits for the Ratatui Terminal UI library. Widget libraries should use this crate. Applications should use the main Ratatui crate. |
| homepage | https://ratatui.rs |
| repository | https://github.com/ratatui/ratatui |
| max_upload_size | |
| id | 1389572 |
| size | 827,828 |
ratatui-core is the core library of the ratatui project, providing the essential building blocks for creating rich terminal user interfaces in Rust.
ratatui-core?The ratatui-core crate is split from the main ratatui crate
to offer better stability for widget library authors. Widget libraries should generally depend
on ratatui-core, benefiting from a stable API and reducing the need for frequent updates.
Applications, on the other hand, should depend on the main ratatui crate, which includes
built-in widgets and additional features.
Add ratatui-core to your Cargo.toml:
cargo add ratatui-core
ratatui-core is part of the Ratatui workspace that was modularized in version 0.30.0 to
improve compilation times, API stability, and dependency management. This crate provides the
foundational types and traits that other crates in the workspace depend on.
When to use ratatui-core:
Widget or StatefulWidgetWhen to use the main ratatui crate:
For detailed information about the workspace organization, see ARCHITECTURE.md.
We welcome contributions from the community! Please see our CONTRIBUTING guide for more details on how to get involved.
This project is licensed under the MIT License. See the LICENSE file for details.