6 releases

new 0.1.5 Apr 23, 2024
0.1.4 Apr 9, 2024
0.1.3 Jan 22, 2024
0.1.2 Nov 14, 2023
0.1.1 Oct 31, 2023

#328 in Development tools

Download history 12/week @ 2023-12-31 21/week @ 2024-01-14 97/week @ 2024-01-21 62/week @ 2024-01-28 164/week @ 2024-02-04 255/week @ 2024-02-11 168/week @ 2024-02-18 72/week @ 2024-02-25 239/week @ 2024-03-03 286/week @ 2024-03-10 195/week @ 2024-03-17 40/week @ 2024-03-24 71/week @ 2024-03-31 389/week @ 2024-04-07 27/week @ 2024-04-14

529 downloads per month

MIT license

91KB
2K SLoC

scarb-ui

Terminal user interface primitives used by Scarb and its extensions.

This crate focuses mainly on two areas:

  1. Serving a unified interface for communication with the user, either via:
    • rendering human-readable messages or interactive widgets,
    • or printing machine-parseable JSON-NL messages, depending on runtime configuration.
  2. Providing reusable clap arguments for common tasks.

See crate documentation for more information.


lib.rs:

Terminal user interface primitives used by Scarb and its extensions.

This crate focuses mainly on two areas:

  1. [Ui] and components: Serving a unified interface for communication with the user, either via:
    • rendering human-readable messages or interactive widgets,
    • or printing machine-parseable JSON-NL messages, depending on runtime configuration.
  2. args: Providing reusable clap arguments for common tasks.

There are also re-export from various TUI crates recommended for use in Scarb ecosystem, such as indicatif or console.

Dependencies

~3–13MB
~124K SLoC