Rust

7129 readers
14 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 2 years ago
MODERATORS
1
2
3
4
5
6
7
 
 

Just added some serious discipline to CharmGuard, an open-source focus assistant in @rust!
✨ Now blocks distracting apps during deep work using:
- sysinfo to monitor processes
- A YAML blocklist of "uh-oh" apps
- Instant reports when temptation strikes 👀
CLI-native, structured logs, GitHub CI, and... sass. Like a librarian judging your tabs ☕💻
📎 https://github.com/zosob/charmguard.git
❤️ to Hannah for the original spark!
#RustLang #OpenSource #DigitalMinimalism #Productivity #FocusApp #CLI

8
9
10
11
 
 

☕ Built LogSniff: a @rust CLI that parses logs, exports to CSV, runs Python ML, and plots anomalies.
Next up: real-time alerts & regex rules.
Because fragile stacks deserve a sip & a side-eye.

#RustLang #CyberSecurity #CLItools #MLops #TeaDrivenDev 🫖🦀📊

12
13
 
 

You ever write a @rust game where the player walks into a dungeon, gets punched in the face by a goblin, drinks a healing potion like it’s chamomile, and keeps going like nothing happened?

Because I just did.

Structs, enums, and reckless bravery: the perfect tea blend.
🧌✨🫖

#RustLang #TeaPoweredCoding #TextAdventure #buildinpublic #TerminalGaming

14
15
16
17
 
 

Maybe the question is not well written, but it's because I do not really know what's happening in here. I'm learning Rust, I'm doing pretty good, but this is the second time that stomp with this.

First, I thought that only the Add trait would be enough, but the LSP keep saying me this if I do not add the "restriction", as far as I know.

What I do not get is what <Output = T> is. I know that is using the type T, but why it is assigned to Output?

The first time that I saw something similar was in the Rust book that comes with rustup, just look at the next function signature

Thank you for you help, you are awesome.

18
19
20
13
This Week in Rust 603 (this-week-in-rust.org)
submitted 2 weeks ago by cm0002@lemmy.world to c/rust@programming.dev
21
22
 
 

We've got a few bugs fixed that allowed us to fully bootstrap the Rust compiler with rustc_codegen_gcc and to fix the CI for Rust for Linux compiled with rustc_codegen_gcc. We hope to improve our testing within the Rust repo in order to allow us to move faster towards our goals.

23
 
 

I got some Ferris plushies made which you can now order at https://trustyswag.com/product/ferris-plushie/

Ideal for stress relief when fighting the borrow checker!

24
11
This Week in Rust 602 (this-week-in-rust.org)
submitted 4 weeks ago by cm0002@lemmy.world to c/rust@programming.dev
25
 
 

Hi everyone!

I'm conducting a brief survey (takes less than 1 minute) to better understand the Rust open source community. I'm particularly interested in learning about who contributes to Rust projects and what motivates or prevents people from getting involved.

I hope insights from this survey will help us identify better ways to support and engage potential contributors in the Rust community.

Thanks for taking the time to share your perspective!

Survey link: https://tripetto.app/run/MHPMRBFVKT

view more: next ›