prettytable-rs
textwrap
prettytable-rs | textwrap | |
---|---|---|
2 | 2 | |
898 | 427 | |
- | - | |
0.0 | 6.1 | |
3 months ago | 15 days ago | |
Rust | Rust | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
prettytable-rs
-
Learning Rust by Building a CLI App
Lastly, after accepting user input it reached the time for displaying what we have in our database. I did not want to use the same old println macro for this. Then came the research part for a cargo package that could satisfy this requirement. I wanted the library to be able to display the database records i a tabular format, and thus found the prettytabl-rs cargo package. It is an easy to use package and so I chose it.
-
My third Rust project: Querying your Kubernetes API Server using SQL
prettytable
textwrap
-
What are the biggest problems that you're facing right now in this stage of your programming journey?
Projects are things you do for fun to learn. A few years ago I got curious about Rust and so I started reading about it. My learning project was text wrapping: https://github.com/mgeisler/textwrap
-
Textwrap 0.14.0 released with support for wrapping text without word separators
The demo shows how Textwrap can be used to wrap both proportional and fixed-width text. In the demo, the text is rendered on a HTML canvas element, but it could just as well go to a PDF file, a GUI, or similar. The ability to wrap text outside of the terminal was added in version 0.13.0.
What are some alternatives?
sqlparser-rs - Extensible SQL Lexer and Parser for Rust
suffix - Fast suffix arrays for Rust (with Unicode support).
kube - Rust Kubernetes client and controller runtime
ngrams - (Read-only) Generate n-grams
cargo-deny - ❌ Cargo plugin for linting your dependencies 🦀
whatlang-rs - Natural language detection library for Rust. Try demo online: https://whatlang.org/
rspotify - Spotify Web API SDK implemented on Rust
regex - An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.
ansi-str - This is a library for work with colored and formatted strings on ANSI terminals.
UNIC - UNIC: Unicode and Internationalization Crates for Rust
ritual - Use C++ libraries from Rust
Fluent - Rust implementation of Project Fluent