Our great sponsors
-
tokio
A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
Seems like there's no API for that - at least not yet: https://github.com/tokio-rs/tokio/issues/3150.
-
RustPython currently has some beginner friendly issues open.
-
SonarQube
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
-
You could try https://crates.io/crates/tuikit - not sure if this fits with what you intend to do. https://crates.io/crates/sdl2 Will also allow you to handle key events. But if you are trying to capture key events that happened outside your focused application, you it will be more OS dependant, and may require escalated privileges
-
The async/await RFC covers that: https://github.com/rust-lang/rfcs/blob/master/text/2394-async_await.md
-
They don't seem to ever include a use statement for tonic_build, and my linter errors when I try to import it. But if I don't import it, it throws a use of undeclared crate or module error.
-
This is a thing from rustfmt. Create a new file rustfmt.toml in your project root and put chain_width = 30 (or an even smaller value) inside it. This will tell rustfmt to break any chain that is longer than 30 characters into multiple lines, whereas the default is 60. rustfmt has a bunch more configuration options, which you can read up on here! I hope that helps :)