\x1b orhun 👾 · @orhun
299 followers · 718 posts · Server fosstodon.org

Package registries are not secure sometimes 🫣

🦀 Rust Malware Staged on Crates.io

👾 blog.phylum.io/rust-malware-st

#rustlang #malware #crate #package

Last updated 1 year ago

Jan :rust: :ferris: · @janriemer
599 followers · 4644 posts · Server floss.social

@jonas Besides the other answers:

If you are looking for a way to store multiple bool values in a memory efficient way, have a look at bitvec crate:

docs.rs/bitvec/latest/bitvec/

"[bitvec] specializes standard-library data structures (slices, arrays, and vectors of bool) to use _one-bit-per-bool storage_[...]"

"[it] brings the capabilities of C++’s compact bool storage and Erlang’s decomposable bit-streams to Rust" - from their docs

#Rust #rustlang #crate #CrateTip

Last updated 1 year ago

Andrea Corbellini · @andrea
29 followers · 210 posts · Server ubuntu.social

My latest for writing files atomically: crates.io/crates/atomic-write-

#rust #crate

Last updated 1 year ago

Architecture News · @architecture
610 followers · 1410 posts · Server masto.ai
Sven Wilhelm · @refnode
131 followers · 32 posts · Server hachyderm.io

Nice by to build text user interface for displaying progress.

Any alternatives I should should keep in mind?

github.com/facebookincubator/s

#crate #facebook #rust #dev

Last updated 1 year ago

Jan :rust: :ferris: · @janriemer
513 followers · 2942 posts · Server floss.social

Oh, this looks fantastic! ✨

library to compare strings (or any sequences). 25+ algorithms, pure Rust, common interface, support.

github.com/life4/textdistance.

Based on popular and battle-tested textdistance library (and written by the same author).

Apparently, it also takes algorithms from the library, which I wished for to be written in Rust.

github.com/Yomguithereal/talis

#Rust #unicode #Python #talisman #JavaScript #textprocessing #NLP #textdiffing #diff #rustlang #crate #CrateTip

Last updated 1 year ago

Jan :rust: :ferris: · @janriemer
513 followers · 2878 posts · Server floss.social

Oh wow, this looks freakin' awesome! 🤩

welds - An async written in using the framework.

github.com/weldsorm/welds

You can even drop down to low-level sqlx queries, in case you need it:

github.com/weldsorm/welds/blob

#orm #Rust #sqlx #rustlang #CrateTip #crate

Last updated 1 year ago

Steffo · @steffo
108 followers · 1023 posts · Server fosstodon.org

Updated `micronfig`, my , to `v0.2.0`!

docs.rs/micronfig/0.2.0/micron

I think it's turning out to be pretty nice!

I'm not yet satisfied with the documentation and the API; I think that maybe better abstractions can be made in certain parts...

#configuration #rust #crate

Last updated 1 year ago

Architecture News · @architecture
344 followers · 1918 posts · Server masto.ai
Jan :rust: :ferris: · @janriemer
486 followers · 2318 posts · Server floss.social

Oh, I love the idea by @kornel to grey out/dim deprecated crates on lib.rs ❤️

It makes it immediately obvious that a crate should not be used anymore.

There are some other goodies they have implemented as well, like:

- typo correction in search
- short URLs avoid bad crates
- and much more ✨

For a full list, head over to the lang forum thread:

users.rust-lang.org/t/recent-l

Thank you @kornel 🙏

lib.rs/

#Rust #rustlang #announcement #crate #crates

Last updated 1 year ago

squillace · @squillace
632 followers · 906 posts · Server hachyderm.io

Itty bitty but great steps by @cpuguy upstream with 's project for in that now projects into a : crates.io/crates/containerd-sh.

Every little step makes something else easier.

#containerd #runwasi #webassembly #k8s #rust #crate

Last updated 1 year ago

GeekProjects News · @news
2 followers · 2317 posts · Server geekprojects.com
Some(void) :rust: · @voided
68 followers · 69 posts · Server hachyderm.io

Found docs.rs/lts/0.1.5/lts/ earlier today because I wanted to try compiling an old project but because I’m on new Mac it didn’t want to install

#rustlang #crate

Last updated 1 year ago

WACOCA · @wacoca
3 followers · 2398 posts · Server mas.to
Joerg Jaspert :debian: · @Ganneff
195 followers · 553 posts · Server fulda.social

Hrrr, this time managed to understand the in , now busy switching from pure log (well, on top) over to that.

#tracing #crate #rust #flexi_logger

Last updated 2 years ago

ʇuʇ‾ǝddǝsnıƃ :blender: · @sub078
54 followers · 282 posts · Server mastodon.uno
HJVT · @hjvt
11 followers · 180 posts · Server hachyderm.io

I've just a !

Here's `fusebox`!
It's like `Vec<Box<dyn Trait>>` but contiguous in memory, avoiding the extra layer of indirection and being more cache-friendly.

crates.io/crates/fusebox

#published #rust #crate

Last updated 2 years ago

Jan :rust: :ferris: · @janriemer
422 followers · 1033 posts · Server floss.social

Ok, this looks really useful:

mirror-mirror | Powerful reflection library for (by EmbarkStudios)

github.com/EmbarkStudios/mirro

Especially, because Rust is known to lack capabilities of reflection.

And what a cool name! 😅

#CrateTip #crate #rustlang #reflection #Rust

Last updated 2 years ago

Jan :rust: :ferris: · @janriemer
398 followers · 573 posts · Server floss.social

🥳 A new version of csv-diff has just been released! 🚀

docs.rs/csv-diff/latest/csv_di

csv-diff is the fastests CSV-diffing library in the world - written in

It can compare two 1,000,000 rows x 9 columns CSVs in < 600ms!

Note that this is still a beta release and the library itself is still very young.

#crate #OpenSource #difference #diff #data #dataScience #performance #CSVDiff #csv #release #rustlang #Rust

Last updated 2 years ago

Tobias Frei 🦀🐍 · @shuntingyard
83 followers · 140 posts · Server mastodon.social

Duh - when starting out the for Rust feels like the rest of Windows and definitely not like 😳🪟

#windows #crate #rust

Last updated 2 years ago