|6 days ago||7 days 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.
Announcing Rust 1.61.0
6 projects | reddit.com/r/rust | 19 May 2022
Anybody knows when cargo-add will be distributed in stable cargo? Seems merged already.
Nix & Rust - cargo2nix 0.11.0 released
4 projects | reddit.com/r/rust | 15 May 2022
In this case the libary is cargo
Cargo - The Rust package manager
1 project | reddit.com/r/github_trends | 13 May 2022
Supply Chain Thoughts
3 projects | reddit.com/r/rust | 11 May 2022
We might not need to reserve all typos. Soon cargo add will be in the stable release and we are hoping to have crates.io start suggesting it along with or in place of the Cargo.toml snippet. cargo-add could check for typos when you add a dependency. We could even check for registry squatting. If all else fails, we can check for security advisories when adding a crate.
Understanding the bin, sbin, usr/bin, usr/sbin split (2010)
5 projects | news.ycombinator.com | 11 May 2022
There is no specific reason for a program that uses the XDG dirs on other unices to not use them on macOS, other than some idea that it's "alien".
You can have ~/.config/. Nothing in macOS prevents you from having it. And so, some programs do. The worst thing that happens is that, instead of having one directoy ~/.foo you now have one directory ~/.config/foo and nothing else in ~/.config. But as soon as you add the second thing that uses ~/.config, you now have two directories in there instead of a second dotdirectory in ~.
It's just that for a bunch of them the XDG path is only used if it exists - e.g. emacs predates the spec, so it uses ~/.emacs.d (and a few others) first.
Cargo doesn't use the XDG paths at all, apparently - https://github.com/rust-lang/cargo/issues/1734. However it also needs a directory for binaries (~/.cargo/bin) and ~/.local/bin isn't actually in the spec at the moment (https://gitlab.freedesktop.org/xdg/xdg-specs/-/issues/14).
my first nontrivial rust program compiled!
1 project | reddit.com/r/transprogrammer | 7 May 2022
Can I suggest using rustup (https://rustup.rs/) to manage the rust tool chain and cargo (installed by rustup, but https://github.com/rust-lang/cargo) to manage builds and packages? It makes it much easier to handle projects especially with dependencies. The book (https://doc.rust-lang.org/stable/book/title-page.html) outlines how to use it and some stuff for advancing with rust
Hey Rustaceans! Got a question? Ask here! (18/2022)!
8 projects | reddit.com/r/rust | 3 May 2022
The package in question was updated to v3.0 three weeks ago, at the same time as heron itself. Even when I explicitly define the dependency pointing at the git repo (which should find the package subdirectory):
Make `cargo doc` exit non-zero if there's warnings
1 project | reddit.com/r/rust | 2 May 2022
I believe this is the relevant tracking issue
Rust code quality and vulnerability scan tool
7 projects | reddit.com/r/rust | 1 May 2022
4 projects | dev.to | 30 Apr 2022
Use Cargo.toml instead of package.json. You’ll want to add them manually (instead of using a command like yarn add)
What makes a library "pure" rust?
3 projects | reddit.com/r/rust | 3 May 2022
Windows might be possible to construe as "Pure Rust" even under this definition, as the windows crate is Microsoft's direct projection of the Windows API into Rust, with no C headers involved. (In fact, the ABI is even extern "system", not extern "C", so you can pretend it's less C.)
Need help with winapi in rust winapi OpenProcess always returning <read memory from 0x674 failed (0 of 1 bytes read)> and error 5 even with the corrent pid
1 project | reddit.com/r/rust | 16 Apr 2022
I would recommend to use the official rust projection of the windows api from Microsoft. I had a very good experience using it and you can mostly reference the official Microsoft api documentation for C++ if the Rust docs are lacking in some regard.
I'm having a hard time staying committed to learning C++ and OpenGL for game development.
6 projects | reddit.com/r/cpp | 31 Mar 2022
In any case, maybe you want to have a look at this, https://github.com/microsoft/windows-rs/tree/master/crates/samples/direct3d12
Win32 API fuzzer, to help develop Wine
6 projects | reddit.com/r/linux | 12 Mar 2022
Project is written in Rust and rust bindings to Windows API - https://github.com/microsoft/windows-rs
"I wanted to make a quick thread to summarize the main reasons why many AAA studios (correctly) opt out of the STL"
4 projects | reddit.com/r/cpp | 28 Feb 2022
Is rust worth the time and investment to learn?
3 projects | reddit.com/r/rust | 18 Feb 2022
I know Microsoft is putting effort into providing documentation and API bindings for using Rust on Windows and have used it for a component or two, though what beside one of their Azure components is unclear.
Rust Survey 2021 Results
3 projects | news.ycombinator.com | 15 Feb 2022
Nope, I was speaking about this,
Apparently since last November they decided to replace it with another approach, so my information is outdated.3 projects | news.ycombinator.com | 15 Feb 2022
Nope, they are shipping binaries.
Am I the only one who finds Rust to be centered around Linux? Any Windows devs want to share their experience with Rust?
9 projects | reddit.com/r/rust | 1 Feb 2022
Microsoft is getting behind Rust with things like this guide and these API bindings.
How to use C++ HANDLE event
2 projects | reddit.com/r/cpp_questions | 25 Jan 2022
Microsoft created a language agnostic metadata project for the Windows api to auto-generate language bindings for it. The language bindings for Rust are generated with it for example. One big advantage with them is, that instead of a #define, the types such as HANDLE, etc. are indeed real types wrapping a void* (or a int, or whatever). So it's much harder to pass the wrong type and IDEs give much more helpful type information.
What are some alternatives?
winapi-rs - Rust bindings to Windows API
RustCMake - An example project showing usage of CMake with Rust
Clippy - A bunch of lints to catch common mistakes and improve your Rust code
cargo-outdated - A cargo subcommand for displaying when Rust dependencies are out of date
crates.io - Source code for crates.io
opencv-rust - Rust bindings for OpenCV 3 & 4
RustScan - 🤖 The Modern Port Scanner 🤖
rust-analyzer - A Rust compiler front-end for IDEs [Moved to: https://github.com/rust-lang/rust-analyzer]
rust-windows-dll - Macro for dynamically loading windows dll functions
cargo-edit - A utility for managing cargo dependencies from the command line.
overflower - A Rust compiler plugin and support library to annotate overflow behavior