Expand description

This crate provides utility functions to do the following:

  1. Non binary tree data structure that is safe to use across threads and supports parallel tree walking & processing (inspired by memory arena.
  2. Kotlin inspired scope functions that make it easy to work w/ wrapped values (wrapped in std::sync::Arc<std::sync::RwLock>, or Option, etc).
  3. Print colored text to the terminal. And create TUI (text user interface) applications, similar to what you can do w/ Ink, React, and TypeScript on Node.js.

Modules

This module contains Arena a non-binary tree implementation that is thread safe, and MTArena a variant of the tree that supports parallel tree walking.

This is an experimental module that isn’t ready yet. It is the first step towards creating a TUI library that can be used to create sophisticated TUI applications. This is similar to Ink library for Node.js & TypeScript (that uses React and Yoga)

This module contains a lot of utility functions that are meant to: