Items tagged with: RustLang

Search

Items tagged with: RustLang


Wanted: a #RustLang tool with 4 panes:
- desired generated code
- an in progress proc-macro being written
- input #Rust code where the proc-macro is being applied
- a live updating view of the actual generated code with diff annotations against what was desired

If you want to go fancier, tie things in the output to the input and provide suggestions on where things are missing pre-expansion for the output to march the expectation. I feel like 90% of this can be accomplished today with tmux+a file watcher+direct rustc invocations using -Zunpretty=expanded, but it'd be lovely to have an actual tool for this.



Calling all analog film photographers! 🎞️ I've been working on Filmbook, an open-source app to help you keep track of your film usage. It's built with Rust & GTK4/libadwaita for a smooth & modern experience – and it even runs on Linux phones like the Librem 5 and Pinephone Pro! 📱
The first version is ready for testing, and I'd love your input on what features would make it even better! Join the community & help shape Filmbook: codeberg.org/bjawebos/filmbook ✨ #filmphotography #analogphotography #rustlang #gtk #opensource #community #testing #featureideas #librem5 #pinephone #linuxphone




new #rustlang crate drop: iddqd! ID-based maps where keys are borrowed from values. Four maps are included: IdOrdMap, IdHashMap, a bijective (1:1) BiHashMap and a trijective (1:1:1) TriHashMap.

At Oxide we've found this pattern to be extraordinarily useful. iddqd is no-std compatible, too!

docs.rs/iddqd


Ooooh my tell-all interview about the creation of Ferris the Rustacean has been posted 😆

rustfoundation.org/media/celeb…

#rustlang





Newest #rustlang `http` release v1.3.0 out today!

Perhaps biggest deal is allowing more characters in the `Uri`, because frankly that's the real world.

github.com/hyperium/http/relea…




Inspecting flamegraphs is a pain - dealing with SVG files, opening a browser… ugh.

Not anymore!

🔎 **flamelens** — An interactive flamegraph viewer for the terminal.

🔥 Works with perf, py-spy and cargo-flamegraph.

🦀 Written in Rust & built with @ratatui_rs

⭐ GitHub: github.com/YS-L/flamelens

#rustlang #ratatui #tui #flamegraph #profiling #development #terminal #commandline



Interested to take a little tour through how #deltachat apps and the #rustlang core library are wired together?

@treefit and @WofWca provide a deep-dive into the history of apps migrating from a C-Foreign-Function-Interface to a #Rust based JSON-RPC mechanism, with entertaining horror stories like how an iOS release some years ago could delete profiles without the user intending it 😬

The post also highlights a few areas where folks interested to help could start ... delta.chat/en/2025-02-11-why-j…


You know what I like to do in my terminal late at night?
I try to find my way through an infinite maze.

🧌 **minotaur**: Multiplayer SSH game, beware of the minotaurs!

🎮 Let's play together: *ssh frittura.org -p 2020*

🦀 Written in Rust & built with @ratatui_rs

⭐ GitHub: github.com/ricott1/minotaur

#rustlang #ratatui #tui #ssh #game #terminal


This marks my very first technical blog post, Interning at @servo has been an absolute joy—I’ve learned so much about browsers, Rust, and the open source community, and I’m beyond grateful!

chickenleaf.wordpress.com/2025…

#Rust #opensource #rustlang


“We need to get one thing out of the way: Rust is cool. It’s fun.

“It’s tempting to try to sweep this under the rug because it feels gauche to say, but it’s actually important for a number of reasons.

“For one, fish is a hobby project, and that means we want it to be fun for us. Nobody is being paid to work on fish, so we need it to be fun. Being fun and interesting also attracts contributors.”

fishshell.com/blog/rustport/

#rust #RustLang #FishShell


TIL about diff.rs, a web app for viewing source code diffs between two versions of a crate. Neat! #rustlang #rust


I can't wait to see how people use default field values in #Rust!
It felt like an eternity to land this (specially if we count the years of discussion before the, I believe, 3rd RFC was accepted), but as of next nightly you will be able to write

struct Foo {
bar: Type = Type::const_method(),
}

Foo { .. } // implicit `bar: Type::const_method()` call

The main difference between github.com/rust-lang/rust/pull… and derive(Default) is that the latter doesn't support having mandatory fields.
#RustLang



Will never stop being positively surprised by clippy

#RustLang #Rust


Once more for the evening crowd (or folks in other timezones): Unsafe for work - how to treat and communicate unsafe Rust

#rustlang #rust

oida.dev/unsafe-for-work/


I’ve been on Fedi for a year now and have fallen in love with the platform, so here’s my introduction! I studied computer science with a focus on RTOS and FP/PL, but I’m about to start my final semester of law school. I’ll be practicing at a boutique firm that primarily handles IP cases once I’m barred. I foilboard and I play way too many rhythm games in and out of the arcade.

I contribute to open source projects where I can, and I write up my experience in my digital garden which I’ve been maintaining for over a year now. It’s also a good place to find usage tips for projects/tools that you might want to use.

My passion for tech also includes privacy, and I’m an advocate for minimizing your digital footprint. GenAI is a scam and its purveyors are causing real harm while they sell it as hard as they can.

Follow me for: #selfhosting #digitalgardening #privacy #lawfedi #section230 #copyright #patents #rustlang #gleam #haskell #RSS #neovim #NixOS #zotero #tmux #alacritty #linux #egpu #qemu #arch #archlinux #GNOME #watches #watchmaking #obsidian #obsidianmd #thunderbird #fpv #mechkeys #mechkeeb #mechanicalkeyboard #matrix #signal #fido2 #passkeys #dancerushstardom


📣 New blog post

✨ Sliding Sync at the Matrix Conference — mnt.io/articles/sliding-sync-a…

I have presented Sliding Sync, a novel, fast and efficient synchronisation mechanism for the Matrix protocol, at the first Matrix Conference in Berlin. It's been many many months that I'm working on this project, and I'm joyful it's now available to everyone for a better Matrix user experience!

The article contains the recording + slides. I've highlighted other talks too.

#matrix #RustLang


rPGP is an #OpenPGP implementation in pure #Rust (crates.io/crates/pgp).

It serves as the end-to-end encryption engine for Delta Chat:
@delta, a secure decentralized messager for all major platforms (and then some).

rPGP implements all generations of the OpenPGP standard, up to and including the new RFC 9580.

#RustLang #Cryptography #PGP


New release today: #rPGP version 0.14.0 ✨

(#OpenPGP implemented in pure #Rust, permissively licensed)

github.com/rpgp/rpgp/releases/…

This release brings rather complete support for the excellent new OpenPGP RFC 9580 (also known as "crypto refresh", or "v6")

RFC 9580 standardizes modern cryptographic mechanisms for OpenPGP: AEAD-based encryption, Argon2, and SHA2 fingerprints for the new OpenPGP v6 key format (v4 keys use SHA1).

Thanks @NGIZero for supporting this work!

#RustLang #PGP #GnuPG


Are you a FOSS developer? Do you want to learn #Rust #RustLang? I will give a two hour course on the basics of Rust Saturday, September 28, at 16:00 UTC. This is early evening for Europe, and morning in the US. (I can do another session that's more suitable for Asia, later.)

Info: liw.fi/training/rust-foss-dev/







Is this *too much*? Historically, having two crate versions in your dependency tree and accidentally mixing types from them led to horribly obtuse error messages (expected `Foo`, found `Foo`). We've slowly chipped away at them, but somethings I fear I might have gone overboard with detail. 😬

#Rust #RustLang