Skip to content

Styled text and tree in terminal

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

EngosSoftware/antex

antex

crates.io coverage
build Linux build Windows build macOs build macOs arm64
mit-license apache-license cc
mbh es

Styled text and tree in terminal

Overview

antex is a lightweight Rust library for building styled text and hierarchical tree structures in terminal applications. It provides simple, expressive tools for formatting text with colors and styles, and for rendering clean, readable tree views in command-line interfaces. antex is perfect for developer tools that leverage rich, colored terminal output to improve clarity, structure, and user experience, without pulling in heavy UI frameworks.

Key features:

  • styled terminal text with color and formatting support,
  • colored, structured tree views for hierarchical data,
  • clean and visually appealing console output,
  • developer-friendly APIs for building styled output programmatically,
  • lightweight and idiomatic Rust design.

Usage

use antex::{StyledText, Text};

fn main() {
  let greeting = Text::auto().yellow().s("Hello")
                             .normal().s(' ')
                             .green().s("world")
                             .normal().s('!');
  println!("{}", greeting);
}

License

Licensed under either of

at your option.

Contribution

Any contributions to antex are greatly appreciated. All contributions intentionally submitted for inclusion in the work by you, shall be dual licensed as above, without any additional terms or conditions.

About

Styled text and tree in terminal

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE
MIT
LICENSE-MIT

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages