prettytable-rs
ritual
prettytable-rs | ritual | |
---|---|---|
2 | 6 | |
898 | 1,196 | |
- | 0.3% | |
0.0 | 0.0 | |
3 months ago | about 1 year ago | |
Rust | Rust | |
BSD 3-clause "New" or "Revised" License | Apache License 2.0 |
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
ritual
-
Question about including parent directory C++ files in Rust crate
For your inspiration to get c++ code in a crate: https://github.com/rust-qt/examples uses ritual build https://github.com/rust-qt/ritual which integrates qt c++ stuff into the above cargo qt rust examples. I would like to highlight the todo list example. Build and run it verbosely with "--verbose --verbose".
-
CXX-Qt: safe Rust bindings for Qt
It is great to see how many people want to bring Qt support to Rust and are trying to do so, and I hope that these folks succeed, but it’s wearisome to me how they each create a new project instead of working with others who are already in this problem space. Of the half-dozen or so[0] existing attempts so far to create Qt bindings to Rust, none of them have actually succeeded because they’ve either been abandoned midway or limit their support to QML. Ritual[1] is the only crate I’ve seen that attempts to actually expose the whole Qt API, but it’s pretty awful to use, incomplete, and dead.
Rust doesn’t need more Qt crates. It needs one Qt crate that is complete and works well. (Or, ideally, a native Rust cross-platform GUI crate that works as well as Qt, but that’s an even longer and harder task.)
[0] https://lib.rs/search?q=qt
[1] https://github.com/rust-qt/ritual
-
Use a CPP library from Rust
Just wanted to add another vote for https://github.com/rust-qt/ritual that 0OOO00000OO00O0O0OOO/ mentioned below.
-
GUI liblary for qt ?
There was a QT library, rust-qt (that was officially supported I believe), the bindings being made with Ritual. There is an open issue for supporting qt6, which I'm also awaiting; https://github.com/rust-qt/ritual/issues/109.
- Qt 6.2 LTS Released
What are some alternatives?
sqlparser-rs - Extensible SQL Lexer and Parser for Rust
Rust Qt Binding Generator git - Generate bindings to use Rust code in Qt and QML
textwrap - An efficient and powerful Rust library for word wrapping text.
cxx - Safe interop between Rust and C++
kube - Rust Kubernetes client and controller runtime
QMetaObject crate for Rust - Integrate Qml and Rust by building the QMetaObject at compile time.
cargo-deny - ❌ Cargo plugin for linting your dependencies 🦀
qt.rs - Qt5 binding for rust language. (stalled)
rspotify - Spotify Web API SDK implemented on Rust
imgui-rs - Rust bindings for Dear ImGui
ansi-str - This is a library for work with colored and formatted strings on ANSI terminals.
conrod - An easy-to-use, 2D GUI library written entirely in Rust.