Crate of the Week

https://github.com/joshua-maros/scones
An alternative to derive-builder

2 Likes

https://github.com/EmbarkStudios/rust-gpu

0.1 release was just announced: https://github.com/EmbarkStudios/rust-gpu/releases/tag/v0.1

6 Likes

https://github.com/sonos/dinghy

https://github.com/visioncortex/vtracer

Online demo can be found here:

https://www.visioncortex.org/vtracer/

3 Likes

https://github.com/sunfishcode/cap-std

Allows applications to better declare their intentions programmatically for harder-to-abuse interfaces.

8 Likes

https://github.com/zheland/typed-index-collections

Vec but with strongly typed indices, e.g. instead of Vec<CpuUsage> // Indexed by CPU core you can do TiVec<CpuCoreId, CpuUsage>. It prevents accidentally using the wrong index type, which is a common source of bugs.

Despite how useful it is (and IMO should be in std), it has 0 stars and only 300 downloads.

5 Likes

Rustc uses something similar: IndexVec in rustc_index::vec - Rust

3 Likes

https://github.com/sonos/tract

Somehow this has never been suggested (or I didn't find it :slight_smile: ). A neural network inference library, written purely in Rust for models in ONNX, NNEF and TF formats. Very extensive support for many different operators and comparable speed to the onnxruntime Python package.

Also compiles to WebAssembly and has JS bindings (https://github.com/bminixhofer/tractjs).

IMO the most important crate for working with Neural Networks in Rust. Support for inference of other ML models such as Decision Trees is also coming up.

8 Likes

This isn't exact a crate... it's more of a research prototype:

https://github.com/theseus-os/Theseus

The accompanying paper is here (free): Theseus: an Experiment in Operating System Structure and State Management | USENIX

I found it quite elegant, as I've struggled with how to use idiomatic rust in the weird environment of OS kernels before.

(For those who don't know, OSDI/SOSP is the premier venue for publishing systems papers.)

7 Likes

Puffin: A simple instrumentation profiler for Rust - by the awesome people at Embark.

2 Likes

RustScan: a modern port scanner written in Rust:

https://github.com/rustScan/RustScan

3 Likes

Finally: Postfix Macros in stable Rust (still experimental)!

https://github.com/est31/postfix-macros

5 Likes

https://github.com/Mubelotix/email-parser

2 Likes

ddcset: an application for controlling connected monitors over DDC/CI.

normpath makes path manipulation more reliable. It defines PathExt::normalize, which gives more expected results than fs::canonicalize, and it defines new path types that handle more edge cases.

From the ReadMe:

The goal is to provide an absolute minimal, CPU only, 2D rendering library for the Rust ecosystem, with a focus on a rendering quality, speed and binary size.

1 Like

https://github.com/epi052/feroxbuster

https://github.com/sassman/t-rec-rs

1 Like

https://github.com/pemistahl/lingua-rs

2 Likes

With Rust 1.48 out:

(If this is not visible, both points above are links to crates.io)

4 Likes