A complete flexbox implementation for the Rust cursive crate.
Find a file
Thomas Frans 8ed276994c
chore: pin Rust toolchain version
Create a file that pins the used Rust toolchain to a specific version.
This isn't super useful as this is a library crate and consumers won't
see any effect from this file, but it will prevent the examples from
breaking due to changes in newer versions. It also helps prevent
warnings when checking out older commits, as the toolchain version is
now pinned in every commit.
2025-04-13 19:00:34 +02:00
.github Update GitHub CI. 2023-02-21 17:13:58 +01:00
examples Bugfixes (required_size & event propagation). 2023-02-18 18:03:23 +01:00
src Implement relayout condition. 2023-04-08 12:06:13 +02:00
tests fix: prevent warning from deprecated macro 2025-04-13 18:57:30 +02:00
.editorconfig Add .editorconfig. 2023-01-21 23:27:43 +01:00
.gitignore Add insta snapshot testing and initial tests. 2023-02-21 17:03:36 +01:00
.rustfmt.toml Add Rust code formatting and format code. 2023-01-21 22:22:03 +01:00
Cargo.lock fix: update dependencies to fix broken dependency 2025-04-13 18:51:32 +02:00
Cargo.toml Release new version. 2023-04-08 12:57:49 +02:00
CONTRIBUTING.md Add project goals/roadmap. 2023-02-03 00:54:50 +01:00
GOALS.md Add project goals/roadmap. 2023-02-03 00:54:50 +01:00
LICENSE Add LICENSE and README.md. 2023-01-20 17:16:47 +01:00
README.md Update maintenance info. 2023-11-13 21:41:21 +01:00
rust-toolchain.toml chore: pin Rust toolchain version 2025-04-13 19:00:34 +02:00

Cursive Flexbox crates.io docs.rs

This crate started as a fun sideproject and I never really spent the time to release a proper version in the end. I personally don't believe that a flexbox fits in a TUI, but if anyone else thinks so and wants to work on it, I'd be happy to give ownership of the crate on crates.io away. Just reach out to me through any channel.

A correct, complete flexbox implementation for the Cursive TUI library. The implementation follows the CSS3 specification where it makes sense for a TUI. All implemented functionality should be exactly the same as for the CSS3 flexbox.