Rust

8054 readers
8 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 3 years ago
MODERATORS
126
 
 

Hey everyone,

Basically the title. I'd like to learn how to make my own drawing program and I'm slightly surprised that I can't seem to find anything about it. No tutorials or discussions about requirements or just general tutorials.

Does anyone have any recommendations on where I could start?

127
 
 
  • New CLI flag allows overriding the markdown flavor for a single run
  • Options: commonmark, gfm (GitHub Flavored Markdown)
  • Useful for testing files against different markdown specifications
128
 
 

This is a small release to support Deku 0.20.0 release. The only incompatibility was an introduced descriptive-errors feature which is explicitly propagated at the moment.

The crate started as support decoding and encoding fixed and variable length unicode strings, but quite soon become more than this.

While there’s some ideas to implement, new ideas and improvements are always welcome.

129
 
 

This Christmas, my wife outdid herself. She knew I loved Rust, so she DIYed me a Ferris. It’s now guarding my desk, judging my unwrap() calls and reminding me to write safer code.

Based on the pattern from here (the instructions are in german)

130
 
 

A new release of Kellnr, the crate registry is out. Kellnr is now a single binary that includes all web resources and config files, making it easier to deploy. As a new feature, web-hooks where added to interact with kellnr from other applications.

131
132
133
21
This Week in Rust 631 (this-week-in-rust.org)
submitted 5 months ago by mrbn@lemmy.ca to c/rust@programming.dev
134
 
 

Hi everyone,

we, the iceoryx community, just released iceoryx2 v0.8, an ultra-low latency inter-process communication middleware in Rust, with C, C++, Python and with this release, C# bindings.

If you are into robotics, embedded real-time systems (especially safety-critical), autonomous vehicles or just want to hack around, iceoryx2 is built with you in mind.

Check out our release announcement for more details: https://ekxide.io/blog/iceoryx2-0.8-release

And the link to the project: https://github.com/eclipse-iceoryx/iceoryx2

135
 
 

cross-posted from: https://programming.dev/post/42658798

Mago 1.0.0 - the first stable release of the Mago PHP toolchain

136
137
17
This Week in Rust 630 (this-week-in-rust.org)
submitted 5 months ago by mrbn@lemmy.ca to c/rust@programming.dev
138
139
 
 

It's nice to see progress towards the milestone of having a rustc working on a target not currently supported by Rust. I can't wait to see that happen.

140
141
 
 

estimated audit backlog: 67560 lines

I started learning rust. Worried about trusting all the various code that gets pulled in from the interwebs to compile the first example project in the book (which depends only on "rand" to get random numbers, which requires 8 different libraries), I installed "cargo vet" so that I'd at least know about it if I accidentally added things that haven't been vetted by anyone at all.

Doing this installed a further 200 crates, with no indication as to whether they have themselves been vetted by anyone or not, and tells me that half the ones I already had just from adding "rand" have not been vetted by anyone.

Anyway, I'm learning rust.

142
2
submitted 5 months ago* (last edited 5 months ago) by indietechnews@ioc.exchange to c/rust@programming.dev
 
 

#Termux mobile Experiments

* updating to Rust 1.92.0 does not solve the "Simba" struct issue when building Oniux v0.6.1 - this appears to be #Cargo specific @rust @rustaceans
@torproject

* #Arti works passing
-o application.permit_debugging=true

* #mobian updates with https but without tor to Trixie and is signed after
apt --modernize-sources
@mobian

#rust #rustlang #programming
#mobile #Linux

143
 
 

CtrlAssist – an open source project to bring more accessible, collaborative gaming to Linux! Inspired by PC gaming sessions with my own family, where both young and old relish exploring rich stories with immersive worlds (like Witcher 3, RDR3, Hogwarts Legacy, etc) but find coordinated combat or movement control too challenging to play solo, CtrlAssist lets you combine multiple controllers into one virtual gamepad, much like assist features on dedicated game consoles.

Whether your helping grandparents through tough boss fights, or co-oping with nieces and nephews to level age gaps, CtrlAssist aims to make PC gaming on Linux fun and accessible for everyone. While I’m certain similar utilities exist, I also just wanted a holiday hobby project to practice Rust development while scratching a personal itch.

Please give it a try, share your feedback in the relevant discussion categories, or check out the open issues if you’d like to contribute, help is always welcome!

#RustLang #LinuxGaming #Accessibility #OpenSource #CtrlAssist

144
 
 

Version 1.92.0 of Rust has been released. This release includes a number of stabilized APIs, emits unwind tables by default on Linux, validates input to #[macro_export], and much more. See the separate release notes for Rust, Cargo, and Clippy.

145
146
147
10
This Week in Rust 629 (this-week-in-rust.org)
submitted 5 months ago by mrbn@lemmy.ca to c/rust@programming.dev
148
149
5
Rust in Android Devices (flipboard.social)
submitted 6 months ago* (last edited 5 months ago) by indietechnews@flipboard.social to c/rust@programming.dev
150
view more: ‹ prev next ›