|almost 3 years ago||6 days ago|
|Apache License 2.0||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.
We haven't tracked posts mentioning curryrs yet.
Tracking mentions began in Dec 2020.
Hey Rustaceans! Got a question? Ask here (5/2023)!
19 projects | reddit.com/r/rust | 30 Jan 2023
Yes, some cases are not yet supported (https://github.com/rust-lang/rustfmt/issues/4914).
How do I stop RustFmt from turning this…
2 projects | reddit.com/r/rust | 17 Dec 2022
Just FYI, the let-else suggestions will only work until rustfmt settles on a format for it. So you may be surprised when this happens and it suddenly changes.
Hey Rustaceans! Got a question? Ask here! (50/2022)!
6 projects | reddit.com/r/rust | 11 Dec 2022
rust-analyzer and Clippy aren't not really involved with formatting. rustmft does autoformat to 4 spaces.
Hey Rustaceans! Got a question? Ask here! (48/2022)!
7 projects | reddit.com/r/rust | 1 Dec 2022
rustfmt is the official formatter.
Adding formatter and linter to rost_gen
3 projects | dev.to | 4 Nov 2022
This week, I added a formatter and linter to rost_gen (a static site generator) to improve the readability of the code and fix common issues automatically. I chose to use rustfmt for the formatter and rust-clippy for the linter.
Python multi-level break and continue
6 projects | news.ycombinator.com | 3 Sep 2022
My example was "twice by one developer", not "twice across all indexed repos."
A spot check shows that quite a few in your link are used specifically to ensure correct handling of Rust multi-level breaks work syntax, like https://github.com/rust-lang/rust-analyzer/blob/master/crate... , https://github.com/rust-lang/rustfmt/blob/master/tests/sourc... , https://github.com/rust-lang/rust/blob/master/src/tools/rust... , https://github.com/rust-lang/rust/blob/master/src/tools/rust... and likely more.
Another is a translation of BASIC code to Rust, using break as a form of goto. https://github.com/coding-horror/basic-computer-games/blob/e...
The example at https://github.com/tokio-rs/mio/blob/master/tests/tcp.rs is a nice one
// Wait for our TCP stream to connect
Does Rust not need extra linting and sanitizing tools like C++?
11 projects | reddit.com/r/rust | 28 Aug 2022
There is clippy for additional lints, rust-analyser has some lints (and refactoring tools) that are not in the compiler, there is rustfmt for formatting code or checking if code is formatted and so on
Fixed Stacked Borrows violations in ArrayVec crate
5 projects | reddit.com/r/rust | 23 Jul 2022
In addition, running rustfmt on existing files often moves comments around in a way that changes their meaming. So just doing this blindly on files that are not prepared for rustfmt is a bad idea. This is not a theoretical concern, I have run into this several times, and sometimes this has slipped through review.5 projects | reddit.com/r/rust | 23 Jul 2022
There are no settings that would make rustfmt produce the formatting I think is best. In particular match is often formatted pretty badly, no matter which settings are used. Here are just some of the issues: - https://github.com/rust-lang/rustfmt/issues/3157 - https://github.com/rust-lang/rustfmt/issues/3995 - https://github.com/rust-lang/rustfmt/issues/4004 - https://github.com/rust-lang/rustfmt/issues/4005
Hey Rustaceans! Got a question? Ask here! (26/2022)!
6 projects | reddit.com/r/rust | 27 Jun 2022
I typically do no space before, one space after, and RustFmt appears to agree with me. You'll find that much of the formatting in Rust files are dictated for better or for worse by rustfmt.
What are some alternatives?
Clippy - A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
rust-analyzer - A Rust compiler front-end for IDEs [Moved to: https://github.com/rust-lang/rust-analyzer]
rust-analyzer - A Rust compiler front-end for IDEs
Rust for Visual Studio Code
sublime-rust - The official Sublime Text 3 package for the Rust Programming Language
CodeLLDB - A native debugger extension for VSCode based on LLDB
rr - Record and Replay Framework
cargo-deb - A cargo subcommand that generates Debian packages from information in Cargo.toml
Helix - Native Ruby extensions without fear
rust-bindgen - THIS CRATE IS DEPRECATED, please use https://github.com/servo/rust-bindgen.