Crate of the Week

Background processing for Rust

2 Likes

CSS-inline

(Self-nomination) Inlining CSS into style tags.

Useful for composing HTML emails.

2 Likes

prae

This crate provides a convenient macro that allows you to generate type wrappers that promise to always uphold arbitrary invariants that you specified.

4 Likes

I think this is an amazing example of a strongly typed JSON API, which is no small feat considering how flexible JSON is when sent from javascript or python. Ruma accomplishes this with some pretty cool macros, that are also worth checking out, and lots of custom serde impls.

ruma-events => macros
ruma-client-api => macros

3 Likes

rust_ipify is a small client library for ipify service.
Is a Client of API-bindings to retrive information about IP address and the global IP address of the machine.
You can find the Crate here

Self-nominating my own crate / side project :slight_smile: :

This is a BASIC interpreter and DOS-like environment fully written in Rust. The goal of the project is to provide a learning environment for coding, but also to offer a "fun" retro-looking computing experience.

The cool thing about this crate, which was not intended at first but that Rust made possible "for free", was targeting the web via WASM. Oh, and it now also has a cloud service running on Azure Functions, also written fully in Rust, but I haven't published the code to that...

5 Likes

Self-nominating https://github.com/Plato-solutions/siderunner

A library for running selenium .side files.

fltk-rs has just released 1.1.0, and my own experience has been very positive. Recommended!

2 Likes

trailofbits/dylint: A tool for running Rust lints from dynamic libraries.

I'm looking into this for writing application-specific lints for a large codebase.

4 Likes

Shameless self-nomination: sync_file, to concurrently read from files without race conditions.

I'd like to nominate Loadstone, a bare-metal bootloader for embedded systems, specifically systems running on Cortex-M microcontrollers.

2 Likes