cargo-deb
crossterm
cargo-deb | crossterm | |
---|---|---|
3 | 29 | |
377 | 3,003 | |
- | 2.3% | |
7.8 | 6.8 | |
16 days ago | about 21 hours 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.
cargo-deb
-
AMDGPU_TOP v0.1.2 - switch to crossterm-backend, add simple fdinfo viewer
Ok, AMDGPU_TOP v0.1.3 is released. And the deb package is released at the same time (thanks cargo-deb).
-
How do I turn my shell into a package?
cargo deb?
-
Rust for the Kernel Could Possibly Be Merged for Linux 5.20
Rust actually works fine with distros. See for example https://github.com/kornelski/cargo-deb and https://wiki.archlinux.org/title/Rust_package_guidelines
I use Arch Linux and Most Rust programs I use are installed from the Arch repositories or AUR. Rust packages are very well integrated with the distro, they depend on distro packages and have other packages depend on it. As far as the user is concerned, the Rust build system is just a developer-only stuff like CMake or autotools or ninja or whatever.
Anyway I would like to point out that C++ also do something similar to what Rust libraries typically do, which is to use header-only libraries that don't appear as separate distro packages. It's as if every Rust library meant to be used by Rust programs (as opposed to libraries that expose a C API that can be called by other languages) were a header-only library. And this is actually great because Rust (like C++) monomorphizes generics, that is, if you call a generic function defined on another crate, the compiler actually generates a new function just with the type parameters you supplied, and there's no way the library can know upfront which generic instantiations will happen over all programs that use it.
On the reproducibility front, I think it would be great if C program actually did what Rust does and pinned the exact damn versions of all libraries they use (like Cargo.toml does)
crossterm
-
Question: In your experience, is Helix always more snappy/responsive than Neovim?
I have this feeling with all rust apps using crossterm crate as their backend like GitUI for example
-
Canonical way to handle concurrent events with crates that don't model that use case
I guess you could use EventStream like in this example
-
[2022 Day 14 (Part 1/2) [Rust] Made a small toy
Made a small toy using crossterm that simulates the falling sand using the rules laid out by day 14. Bit late to the party but was pretty fun. The moment I saw the prompt I was fully intent on making some sort of visualization for this after getting the solution.
-
How difficult is ncurses?
There are plenty of terminal UI libraries that are actually nice to work with. For Python, there's Textual and PyTermGUI. For Rust, there's ratatui and Cursive (or, if you want something a bit lower level, crosster or termion). For Go, there's bubbletea.
-
AMDGPU_TOP v0.1.2 - switch to crossterm-backend, add simple fdinfo viewer
Switching the backend of Cursive to crossterm removed dependence on ncurses
-
How can I create 'time' in my game loop?
I don't know where to start, CrossTerm can read events asynchronously with tokio https://github.com/crossterm-rs/crossterm/blob/master/examples/event-stream-tokio.rs , but I don't have any idea what that really means, I am coming from the HTML Canvas and TypeScript. I want the most simple and basic method possible. Cheers!
-
termion development status?
Just wondering if anyone has any insight into the current development and maintenance of termion? It currently has 67 issues and 24 merge requests and no code activity has happened since Sep 27 2021, so nothing in over a year. I am of course grateful for the existing project, but just somewhat concerned that it ends up being abandoned or forgotten seeing as it is one of the premiere tui libraries written purely in Rust (other being crossterm).
-
I made a terminal-based flashcard app - with incremental reading!
I might make a gui frontend in the future, but for now i'll focus on the terminal. The terminal doesn't mean it doesnt support mac or windows though, they have terminals too! And the library used for accepting key-input is crossterm which supports windows!
-
[Media] I made a Rust CLI game that tests how fast you can guess the language of a code block!
I used crossterm. Really love the simplicity of the API, definitely fit my purposes well.
-
How difficult could it be to make a console program that looks like this and has a game loop running on a separate thread? Any suggestions or crate recommendations are welcome!
For the terminal part you could use https://crates.io/crates/crossterm
What are some alternatives?
surveys - Repo for coordinating the creation, distribution, collection, and analysis of surveys for the Rust project.
Termion - Mirror of https://gitlab.redox-os.org/redox-os/termion
amdgpu_top - Tool to display AMDGPU usage
tui-rs - Build terminal user interfaces and dashboards using Rust
rfcs - RFCs for changes to Rust
pancurses - A Rust curses library, supports Unix platforms and Windows
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
fui - Add CLI & form interface to your program. Docs: https://docs.rs/fui
libdrm-amdgpu-sys-rs - libdrm_amdgpu bindings for Rust, and some methods ported from Mesa3D
bearlibterminal - BearLibTerminal FFI for Rust
netbsd-sandbox - The secmodel_sandbox security module for NetBSD
rustgenhash - CLI tool written in Rust which can be used to generate hashes