|3 days ago||2 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.
Let else will finally be formatted by rustfmt soon
5 projects | /r/rust | 3 Jul 2023
The new style still supports single line let-else, and there is a configuration parameter to make it be on one line also for longer lines.5 projects | /r/rust | 3 Jul 2023
Yacin Tmimi for actually implementing the bloody thing
Is rustfmt abandoned? Will it ever format `let ... else` syntax?
I’m not sure they are? I don’t mean this to criticize anybody on the project — I’m sure they have other things going on — but there are a whole bunch of open PRs without even a single comment.
It seems there is an issue about this dating all the way back from 2018 but yet it still hasn't been fixed.
Hey Rustaceans! Got a question? Ask here (22/2023)!
10 projects | /r/rust | 29 May 2023
However since 4179 recent versions should merge configuration files. Not sure what the details / specifics are but if just ignoring the file entirely is not good enough you might give it its own directory and rustfmt.toml file and see if that works.
Rust Tips and Tricks #PartOne
3 projects | dev.to | 8 Apr 2023
Rustfmt is a tool that formats Rust code in compliance with style guidelines. Its name precisely reflects its purpose. To install rustfmt, you can run rustup component add rustfmt. Once installed, you can execute cargo fmt to format Rust code in your workspace. If you require further information, you can visit rustfmt’s GitHub repository.
What are some good practices when writing rust?
2 projects | /r/rust | 28 Feb 2023
code must be formatted with rustfmt.
Hey Rustaceans! Got a question? Ask here (5/2023)!
19 projects | /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 | /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.
LSP could have been better
12 projects | news.ycombinator.com | 11 Oct 2023
Agree this is not a problem. rust-analyzer also includes a boatload of custom extensions. Here's how "query type of selected expression" works, for example:12 projects | news.ycombinator.com | 11 Oct 2023
For example: https://github.com/rust-lang/rust-analyzer/blob/master/docs/...
> If you create an LSP, it will work best in VS Code.
Any editor can work just as well as (or even better than) VS Code.
Mastering Emacs: What's new in Emacs 29.1
6 projects | news.ycombinator.com | 7 Sep 2023
I am not a Rust dev. It surely looks great.
However, from what I understand it seems to supply just a parser separate from the Rust compiler (https://github.com/rust-lang/rust-analyzer/tree/master/crate...) trying to keep up with Rust‘s development. So, in principle, it could have been just another treesitter parser plugin, too.
So, again, the LSP framework does not directly provide any magical benefit over a static parsing framework. All the semantic analysis capabilities stem from a good parser.
rust-analyzer significantly slowing down compilation
2 projects | /r/rust | 23 Jun 2023
You may file issue at github rust-analyzer
Any new Opensource projects in (rust) looking for contributors. I want to start my journey as an OSS contributor.
17 projects | /r/rust | 14 May 2023
I've contributed to rust-analyzer and nushell and had a great experience in both! Tons of open issues with a huge range of difficulties, and the maintainers are really helpful in providing hints to get started.
I want to contribute in a big project
6 projects | /r/rust | 1 May 2023
For something more concrete you can try and ask around on their zulip or browse their issues.
Microsoft is rewriting core Windows libraries in Rust
6 projects | /r/programming | 29 Apr 2023
More info here: https://rust-analyzer.github.io/ and here: https://rust-analyzer.github.io/manual.html#installation
VS Code: How to get these two features?
3 projects | /r/rust | 28 Apr 2023
You can submit feature requests in the repository: https://github.com/rust-lang/rust-analyzer/
[Help] Can't get rust-analyzer to be recognized by Helix
2 projects | /r/HelixEditor | 27 Apr 2023
sh git clone https://github.com/rust-lang/rust-analyzer.git && cd rust-analyzer cargo xtask install --server
Emerging Rust GUI libraries in a WASM world
11 projects | news.ycombinator.com | 26 Apr 2023
Thanks for the ideas! Separating out presentation crate into it's own crate sounds like a great idea. Re "temporarily stopping rust-analyzer", I came across this trick to make RA use a different build path (trading off disk-space for speed, but I mean, disk space is cheap).
Re: cranelift, I gotta check that out! Thanks for the reminder!
What are some alternatives?
vscode-rust - Rust extension for Visual Studio Code
Clippy - A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
intellij-rust - Rust plugin for the IntelliJ Platform
rust-analyzer - A Rust compiler front-end for IDEs [Moved to: https://github.com/rust-lang/rust-analyzer]
sublime-rust - The official Sublime Text 3 package for the Rust Programming Language
coc-rust-analyzer - rust-analyzer extension for coc.nvim
eglot - A client for Language Server Protocol servers
Rust for Visual Studio Code
vim-lsp-settings - Auto configurations for Language Server for vim-lsp
tree-sitter-rust - Rust grammar for tree-sitter