ratatui/ratatui-core
Josh McKinney e7085e3a3e
chore: move widgets into ratatui-widgets crate (#1474)
All the widgets now live in their own ratatui-widgets crate, but are re-exported in the main ratatui crate.
This makes it easier to use portions of the ratatui library and is part of the effort to modularize

Part of: #1388

---------

Co-authored-by: Orhun Parmaksız <orhun@archlinux.org>
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2024-11-15 19:42:07 -08:00
..
src refactor: move {Stateful,}Widget{,Ref} types into individual files (#1479) 2024-11-12 15:34:48 +03:00
Cargo.toml chore(deps): bump unicode-truncate from 1.1.0 to 2.0.0 (#1481) 2024-11-12 03:42:47 -08:00
README.md chore: move widgets into ratatui-widgets crate (#1474) 2024-11-15 19:42:07 -08:00

ratatui-core

Crates.io Documentation License

Overview

ratatui-core is the core library of the ratatui project, providing the essential building blocks for creating rich terminal user interfaces in Rust.

Why 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.

Installation

Add ratatui-core to your Cargo.toml:

cargo add ratatui-core

Contributing

We welcome contributions from the community! Please see our CONTRIBUTING guide for more details on how to get involved.

License

This project is licensed under the MIT License. See the LICENSE file for details.