serde-this-or-that
tui-rs
serde-this-or-that | tui-rs | |
---|---|---|
5 | 68 | |
18 | 10,829 | |
- | - | |
0.0 | 4.7 | |
about 1 year ago | 9 months ago | |
Rust | Rust | |
MIT 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.
serde-this-or-that
-
Introducing serde-this-or-that v0.4.0: Builds on top of serde to deserialize one of various types into a unified type in a struct field.
GitHub | crates.io | Changelog
-
What's everyone working on this week (16/2022)?
I was just working over the weekend on putting together a project, serde-this-or-that which is inspired by a blog post of a similar name, even though technically that blog post appears to discuss something slightly tangential to the matter. This project is inspired by a question posted on SO, which suggested a crate might be useful to deserialize cases where a json field has one of multiple possible multiple types (for example it could come as str or bool). I was also working on adding benchmarks, which this is actually the first crate where I have successfully put together benchmarks using criterion which I've been kind of nervous about using in general, but based on the docs it was pretty easy to set up so I'm kind of glad about that at least.
-
serde-this-or-that v0.2: now with added functionality and updated docs!
Update: for those curious, I've added benchmarks for comparison with serde_with here. After some more testing, I've release v0.4 and am confident that performance is now on par with serde_with. Also, I noticed that whenever serde_with::PickFirst is used, performance drops; in this case, serde_this_or_that does seem to perform 12x better in such scenarios.
-
Announcing serde-this-or-that v0.2: now with added functionality and updated docs!
The full release notes can be found on the project page on GitHub as well.
-
Introducing serde-this-or-that v0.1: custom deserialization for fields in multiple types
I've just published an initial release of serde-this-or-that, which builts on top of serde to provide custom deserialization for fields that can be specified as multiple types.
tui-rs
-
Trippy – A Network Diagnostic Tool
The TUI is built with the awesome Ratatui [0] library (formerly tui-rs [1]). UX is certainly not my area of expertise and I would not have been able to create Trippy without this library.
[0] https://github.com/ratatui-org/ratatui
[1] https://github.com/fdehau/tui-rs
-
Projectable: A TUI file manager built for projects
Rust has great libraries for TUIs. tui-rs (https://github.com/fdehau/tui-rs) has been used in numerous popular applications, but is unmaintained. ratatui (https://github.com/tui-rs-revival/ratatui) is the maintained version, and is pretty new. Less widely known is cursive (https://github.com/gyscos/cursive), which I have yet to try.
Aside from the libraries, I just wanted to start a project that would make be better at Rust. The easy distribution with cargo is a huge bonus though.
- ratatui 0.21.0 is released! (community fork of tui-rs)
-
Looking for advice around project direction using artix-web
CLI, use Clap. If you want to get fancy, use Tui.
-
[Media] Introducing Trippy: A Network Diagnostic Tool
u/lordnacho666 It uses the fabulous https://github.com/fdehau/tui-rs (now revived as https://github.com/tui-rs-revival/ratatui) TUI lib.
-
Introducing TUI-Journal: Your Personal Journal/Notes App for Terminal Enthusiasts
This app is based on the these two crate in rust (tui-rs , tui-textarea). The text area provide the Emacs motions and I integrated the vim motions there, but the editor in this app as much simpler than the huge VIM and Emacs systems
If you interested in the TUI apps in rust you can start with the crate tui-rs or its revival ratatui. They have examples inside of them which you can start and see the source code to get the basic functionalities. For the text editor you can check examples in the crate tui-textarea.
-
Ink: React for interactive command-line apps
For Golang there is Bubbletea [1], Textual [2] for Python and tui-rs for Rust [3].
[1] https://github.com/charmbracelet/bubbletea
[2] https://github.com/textualize/textual
[3] https://github.com/fdehau/tui-rs
-
Building a task manager app on CLI similar to "top" command in Linux, how to add a feature to kill processes via process ID?
You can check tui-rs, is a library to build CLI interfaces and has some examples about using user input without blocking the UI
- [Rust] Si vous voulez relancer la caisse `` Tui`, rejoignez-nous!
What are some alternatives?
sonic-rs - A fast Rust JSON library based on SIMD.
crossterm - Cross platform terminal library rust
toolbox-tuner - Graphical application intended for use on Fedora Silverblue to manage containertoolbx.org containers.
Cursive - A Text User Interface library for the Rust programming language
org.gnome.Todo
pancurses - A Rust curses library, supports Unix platforms and Windows
done - The ultimate task management solution for seamless organization and efficiency.
Termion - Mirror of https://gitlab.redox-os.org/redox-os/termion
Relm4 - Build truly native applications with ease!
monkeytype - The most customizable typing website with a minimalistic design and a ton of features. Test yourself in various modes, track your progress and improve your speed.
redis-derive - This crate implements the FromRedisValue and ToRedisArgs Traits from mitsuhiko / redis-rs for any struct
rich - Rich is a Python library for rich text and beautiful formatting in the terminal.