|about 18 hours ago||about 3 hours ago|
|GNU General Public License v3.0 or later||GNU General Public License v3.0 or later|
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.
Why are most of Rustfmt features unstable?
3 projects | reddit.com/r/rust | 12 May 2022
I could list all the tracking issues for them like for control_brace_style but honestly I feel as that would be rude and that is not my intention here. But if you want you can scroll through their configuration page and see which features are stable. I'm not quite sure if I can use these even though they aren't stable yet.
1 project | reddit.com/r/rust | 27 Mar 2022
New crate - impl-tools - #[autoimpl] and impl_scope! macros
2 projects | reddit.com/r/rust | 24 Mar 2022
See here for my suggestion.
Why is is prettier used if eslint can format?
4 projects | reddit.com/r/node | 11 Mar 2022
There isn't overlap between these concerns (formatting and linting), formatting is syntactic analysis and linting is semantic analysis. There's only overlap because ESLint has some formatting capabilities as well. In modern languages, these are separate tools because they are separate concerns (rustfmt and rust-clippy , gofmt and go vet ).
Questions about zero-cost abstraction
2 projects | reddit.com/r/learnrust | 15 Jan 2022
Internet debates have raged for too long – Let's Settle This
3 projects | news.ycombinator.com | 9 Jan 2022
Why is there no "standard" formatting tool for haskell?
4 projects | reddit.com/r/haskell | 4 Jan 2022
I really wish Haskell had something like rustfmt. Pretty much all Rust code follows the same default rustfmt style. rustfmt is also deterministic, so the original formatting has no effect on the new formatting. This makes things very regular and predictable.
Does code formatting work for you in VSCode and in integration tests?
1 project | reddit.com/r/rust | 22 Nov 2021
Thank you to the Rust community + LibertyOS 0.7.0
4 projects | reddit.com/r/rust | 12 Nov 2021
In case the next question would be Why coding style?, do not wait an answer on that. See https://github.com/rust-lang/rustfmt README.me for additional information about How to format Rust code according to style guidelines.
Having trouble with Rust Analyzer in Visual Studio formatting my statements onto newlines.
3 projects | reddit.com/r/rust | 11 Nov 2021
Check here: https://github.com/rust-lang/rustfmt/blob/master/Configurations.md
Can someone from the Rust community share their views on this? Why can't we have dynamic linking of dependencies?
1 project | reddit.com/r/rust | 18 May 2022
You might be interested in RFC#2801 and the library implementation.
Alternative for Vec for variable size arrays in no_std environment?
3 projects | reddit.com/r/rust | 17 May 2022
Implementing the C version in Rust is discuessed here: https://github.com/rust-lang/rfcs/pull/1909 . Note that this approach has some issues as well, which is why it hasn't managed to get stabilised.
I don't understand the usefulness of the if-let pattern
1 project | reddit.com/r/learnrust | 12 May 2022
I am not aware of anything but I can't imagine a reason for not allowing this in the future under the right conditions. However it sounds like the let-else feature addresses your example:
Help test Workspace Inheritance in preparation for stablization!
1 project | reddit.com/r/rust | 12 May 2022
RFC 2906: Workspace inheritance allows sharing Cargo.toml settings across a workspace. Implementation is complete and we are looking for user reports on it to ensure its ready to be stablized, whether you do a throwaway port or are willing to depend on master and run with it for a period of time. For more information, see our testing instructions
how can i translate compilation errors.
1 project | reddit.com/r/rust | 9 May 2022
You might want to checkout: - https://internals.rust-lang.org/t/translating-the-compiler/10376/59 - https://github.com/rust-lang/rfcs/issues/1843
[Media] How to create a module hierarchy in Rust (improved version)
2 projects | reddit.com/r/rust | 7 May 2022
It’s probably also worth reading the original RFC updating the module system to get a sense for why the change was introduced and what the rationale for it was2 projects | reddit.com/r/rust | 7 May 2022
You can check out the RFC that introduced the new system (and other changes to the module system) to get a sense for the rationale, and follow the link there to the RFC PR to read the discussion around its introduction.
Why does Rust not have a standard async runtime?
3 projects | reddit.com/r/rust | 4 May 2022
Rust used to have a built in green threading model - back before 1.0. But it was removed before 1.0. Basically it had too many downsides at not removing it would have forced the developers to keep its API forever as rust does not break backwards compatibility after 1.0.
Will Hare replace C? Or Rust? Or Zig? Or anything else?
10 projects | news.ycombinator.com | 3 May 2022
Ahh, the dynamic linking thing.
To some extent, I see that more as "Distros have ossified around the workflows and tooling that is essentially 'a third-party package manager like Conan for C++, but for C'".
How do you deal with the same monomorphization problems in C++ libraries? See https://blogs.gentoo.org/mgorny/2012/08/20/the-impact-of-cxx...
How do you deal with vendored single-header libraries and bespoke implementations brought about by C's lack of a cross-distro, cross-platform dependency handling story? You generally don't.
As that article points out, Rust's approach to package management allows things to be shared between projects which, in practice, don't get shared between C projects.
With Crates.io not allowing existing crate versions to have their contents modified and Cargo.lock providing a SHA256-verified record of the exact dependencies your project used, you've got a record of what build dependency versions went into your package, which can be used by tools like `cargo audit`.
Yes, it means that you need tooling to automate rebuilding the binaries whenever they're statically linked but, as Michał Górny pointed out in 2012, that's already necessary with libraries that use C++ templates and, as was said in "Let's Be Real About Dependencies", "On the flip side, I wonder how many times vlc’s XML parser has been fuzzed?"
While it's slow going, discussion and an experimental prototype do exist for embedding full dependency versioning information inside Rust binaries to further help that approach: https://github.com/rust-lang/rfcs/pull/2801
Project Loom preview ships in JDK 19
5 projects | news.ycombinator.com | 2 May 2022
What are some alternatives?
Clippy - A bunch of lints to catch common mistakes and improve your Rust code
rust-analyzer - A Rust compiler front-end for IDEs [Moved to: https://github.com/rust-lang/rust-analyzer]
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
rust-analyzer - A Rust compiler front-end for IDEs
cargo-deb - A cargo subcommand that generates Debian packages from information in Cargo.toml
rr - Record and Replay Framework
bubblewrap - Unprivileged sandboxing tool
Rust Language Server - Repository for the Rust Language Server (aka RLS)