1.86.0 # Released on: 3 April, 2025 Branched from master on: 14 February, 2025 Language # Stabilize upcasting trait objects to supertraits. Allow safe functions to be marked with the #[target_feature] attribute. The missing_abi lint now warns-by-default. Rust now lints about double negations, to cat...
-
Rust Programming @lemmy.ml Zenlix @lemm.ee Typst is hiring
Typst, a very nice Latex alternative, written in rust has published job listings.
-
Rust Programming @lemmy.ml golden_zealot @lemmy.ml New to Rust
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.
-
Rust Programming @lemmy.ml commander @lemmings.world Which is faster?
undefined
let mut variable: Type; loop { variable = value; }
or
undefined
loop { let variable: Type = value; }
-
Rust Programming @lemmy.ml Dark-Alex-17 @lemmy.world Managarr v0.5.1 is Out with Multi-Instance support!
github.com GitHub - Dark-Alex-17/managarr: A TUI and CLI for managing *arr servers. Built with π€ in RustA TUI and CLI for managing *arr servers. Built with π€ in Rust - Dark-Alex-17/managarr
Managarr - A TUI and CLI to help you manage your Servarrs.
Thanks to everyone who contributed to this release, be that in code, issues, or enhancement suggestions! You all help fuel my passion for working on this and it doesn't go unappreciated! π
As always, you can try out the changes yourself via the Managarr Demo Site
Breaking Changes
- Managarr now supports multiple instances of the same Servarr with custom names and ordering. (See Features below)
To accommodate this, configuration files must be updated so that all Servarrs listed beneath
radarr
,sonarr
, etc., be updated to be lists, not individual Servarrs. For example: to migrate from the following config:You would change the above configuratundefined
radarr: host: 192.168.0.78 port: 7878 api_token: someApiToken1234 sonarr: host: 192.168.0.89 port: 8989 api_token: someApiToken1234
- Managarr now supports multiple instances of the same Servarr with custom names and ordering. (See Features below)
To accommodate this, configuration files must be updated so that all Servarrs listed beneath
-
Rust Programming @lemmy.ml SufferingSteve @feddit.nu Confession
I have been programming in Rust for about 8 years now. I love the language. But I feel I have some confessions I must make.
- I don't know if I use tabs or spaces in my final code. I just assume that it all get solved correctly by cargo fmt. I don't even understand that people have been arguing about this for real? I vaguely remember this being important in C and C++, but I am hoping I never go back to those dark days.
- I never do linebreaks, not even when adding my semicolons. I hit ":w" and if shit doesn't move around on my screen, I fucked up somewhere.
- The only lifetime I ever use is '_, 'a or 'static otherwise I give up
- Wtf is the 'de lifetime in serde deserialize??
- Rocket is the best web server
- I actively chose software written in Rust over other software, even if it's not better, and I argue that it is.
Okay, got that of my chest. Never dared telling anyone this before. Feels scary
-
Rust Programming @lemmy.ml commander @lemmings.world Unpopular opinion, but I like writing Rust code in camelCase.
I came from Java, so it kind of makes sense.
I'm glad the Rust devs thought to allow disabling non-snake_case warnings.
This language is actually really great and versatile. (I also use tabs instead of spaces)
Axium - An example API built with Rust, Axum and SQLx
An example API built with Rust, Axum, SQLx, and PostgreSQL. - Riktastic/Axium
Hi there! Just wanted to share a project I worked on over the past 6 weeks. It is a boilerplate/template for a fairly secure API.
It now features:
- An example API,
- JWT auth (using APIkeys and username + password (+ 2 factor))
- Key rotation,
- Built-in HTTPS/HTTP2,
- Multiple keys per account,
- Usage tiers,
- Role based access,
- Healthcheck endpoint for monitoring and docker,
- OpenAPI documentation generation,
- And a lot more...
This was my first Rust project. I am always in for feedback :)
Big released bevy games
Are there some big projects/games that are released and made in bevy?
A lot of times tiny glade is mentioned, but I can not find a reliable source from the devs that it is made in bevy.
Is there any drag and drop method to develop a GUI with Rust?
I've used Godot, which works great but I'm wondering if there are other ways.
Does anyone have experience using Qt with Rust and Qt Designer?
Are there any other drag and drop options that you think are viable?
Flashing your own code to e-ink price tag
Flashing your own code to an epaper price tag. Contribute to tracyspacy/nrf52811-solum-tag development by creating an account on GitHub.

This presentation highlights some of the things I've been working on at ockam.io for the last few months. It explains actor programming and Rust concepts at a high level, while diving deep into wh...

An interesting video about actor programming in Rust.
Iced (GUI Crate) is getting default animation support
Iced, a popular GUI Crate, used by system76 for their new DE, is getting default animation support in the development branch. The animations are based on the lilt crate. As far as I know the only missing part that needs to be done is, adding animations to the default widgets.
I assume in the next release it will be shipped with animation support.
I am so happy that this is coming and look forward to see animations in my gui applications.
Abstract Impl: code generic trait implementations
cross-posted from: https://feddit.org/post/7326044
Inspired by Contex-Generic Programming, I made this macro, that allows you to write those generic implementations easily. This is kinda CGP, but simple and with better errors.
Ever repeat yourself implementing traits? Or wanted to easily swap out parts of your code, with (almost) no need to refactor? That is what this is for.