1
7
submitted 18 hours ago by [email protected] to c/[email protected]
2
26
submitted 2 days ago by [email protected] to c/[email protected]

https://pest.rs/book/examples/awk.html 🎉

I aimed to keep it in line with the "demonstration of the Rust ecosystem" goal, so it can also be a great introduction to Rust for beginners who are looking for a fun project to work on. It's not perfect, but that's part of the fun! It leaves room for potential language extensions (to make the AWK clone more complete) and optimizations up to the reader as a follow-up.

3
7
submitted 5 days ago by [email protected] to c/[email protected]
4
12
submitted 2 weeks ago by [email protected] to c/[email protected]
5
24
submitted 2 weeks ago by [email protected] to c/[email protected]
6
18
submitted 1 month ago by [email protected] to c/[email protected]

The Integrity Data Platform (IDP) team decided to rewrite one of our heavy Queries Per Second (QPS) Golang microservices in Rust. It resulted in 70% infrastructure savings at a similar performance, but was not without its pitfalls.

7
17
submitted 1 month ago by [email protected] to c/[email protected]

This is a new password manager I wrote in Rust. This is supposed to replace 'passage' which I used previously. WDYT?

8
6
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]

i made a gallery generator for my film photos! it uses Atkinson dithering (optional) for thumbnails and outputs clean static HTML with zero JavaScript.

this is actually my first Rust project that i've shipped, so i'm totally open to contributions, suggestions, or critiques.

9
12
submitted 1 month ago by [email protected] to c/[email protected]

cross-posted from: https://lemmy.ml/post/31782206

I've found this to be pretty useful when needing to do recursive / multi-file search and replace. Also has bindings to work within terminal text editors like vim and helix.

Uses rust and ripgrep under the hood for speed.

10
27
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]

cross-posted from: https://lemmy.ml/post/31328788

11
38
submitted 1 month ago by [email protected] to c/[email protected]
12
4
submitted 2 months ago by [email protected] to c/[email protected]

I am searching for a way to get the styles and colors of the current kde/qt theme used. Any ideas how I can do that?

13
20
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]

Hi all,

I don't know where would be the best place to post this, but I wanted some people's feedback on a DSL that I wrote for network analysis.

I am using nom for writing the lexer and parser, then using abi_stable crate for data types so that you can write plugins to the language and load them dynamically as well.

This language is made to work by loading a tree graph (network) and then call a bunch of node or network functions that work on it. There are different ways you can run functions, and use node/network attributes.

I am mostly self-taught, so it took a lot of years to get to a level where I could write something like this. I am learning a lot and having a lot of fun in the process, but I want this to develop into something that can have a practical usefulness to people. Since I am in the field of hydrology, I am making it with river networks in the mind.

To try it out, you can either download the executables for windows from the releases page, or you can compile it using cargo (for all OS; except android where GUI won't work, CLI will work in termux). I have some basic examples in the Learn By Examples section of the User Guide that you can follow.

Please let me know if you can't compile/use it as well. I have tried to make sure it has required instructions, but I could have missed something.

14
35
submitted 2 months ago by [email protected] to c/[email protected]
15
6
submitted 2 months ago by [email protected] to c/[email protected]
16
20
submitted 2 months ago by [email protected] to c/[email protected]
17
5
The new BLAKE3 hazmat API (www.iroh.computer)
submitted 2 months ago by [email protected] to c/[email protected]
18
3
submitted 3 months ago* (last edited 3 months ago) by [email protected] to c/[email protected]

cross-posted from: https://lemmy.world/post/28964135

Hi there Rustians! A few months ago I posted about my hobby project. Just wanted to give an update.

Axium is a template for an API backend.

In the last few months I have added:

  • HTTP-cookie authentication (got it to work with a javascript site),
  • Password resetting,
  • User registration,
  • Example routes for interacting with S3 storage
  • Lots of input validation,
  • Caching,
  • Mailing (for the password reset and user registration).

I think that it is almost ready to be used as a backend for my website. Almost everything is marked off my wishlist, just need a few helper to help me check the security of the authentication and registration functions.

GitHub: https://github.com/Riktastic/Axium

19
24
submitted 4 months ago by [email protected] to c/[email protected]
20
27
Typst is hiring (typst.app)
submitted 4 months ago by [email protected] to c/[email protected]

Typst, a very nice Latex alternative, written in rust has published job listings.

21
5
RUSTAsia 2025 (March 28, 2025) (www.rustasiaconf.com)
submitted 4 months ago by [email protected] to c/[email protected]
22
19
submitted 4 months ago by [email protected] to c/[email protected]
23
14
submitted 4 months ago by [email protected] to c/[email protected]
24
14
New to Rust (lemmy.ml)
submitted 4 months ago by [email protected] to c/[email protected]

Hey fellas, I am new to Rust! I have been following the rustlings tutorial + the rust online book, and I have just purchased the book "Rust for Rustaceans: Idiomatic Programming For Experienced Developers".

While I am NOT an experienced developer, I have worked in languages such as Java, Python, and a little bit of C before, and my schooling was in information technology for computer systems infrastructure so most of the ideas are not too foreign to me (except for ownership in rust, which from what I have been reading is super cool, though it throws a wrench into how I might usually write something while opening some other doors).

I am interested in learning, so I wanted to ask if, in addition to the resources I have selected above, is there anything else I should add to try to supplement my learning, or are those reasonably acceptable?

I am also glad to hear any tidbits, advice, or suggestions otherwise.

Thank you.

25
11
Which is faster? (lemmings.world)
submitted 4 months ago* (last edited 4 months ago) by [email protected] to c/[email protected]
let mut variable: Type;
loop {
    variable = value;
}

or

loop {
    let variable: Type = value;
}
view more: next ›

Rust Programming

8901 readers
13 users here now

founded 6 years ago
MODERATORS