1126
75
Announcing Freya GUI library (marc0.hashnode.dev)
1127
31
submitted 3 years ago* (last edited 3 years ago) by Arbitrary@reddthat.com to c/rust@programming.dev
1128
127

For a larger project requiring the ability to work with my computer in 3D, I developed a 3D terminal emulator. It uses the wonderful alacritty_terminal crate from the Alacritty terminal for VTE parsing and PTY initialization, and it uses wgpu and rend3 for the rendering code. The actual text rendering is done using multichannel SDF rendering, generated lazily at runtime to a texture atlas using the msdfgen crate.

A project like this would've been impossible if not for Rust's friendly library ecosystem and the Alacritty project's efforts to make their core terminal emulator code reusable for other means.

1129
43
1130
43

A great quick reference document that I've been using to help with understanding Rust. It's a confusing language to get started with.

1131
11
Diesel Async 0.4 (blog.weiznich.de)
1132
16
1133
22
1134
6
submitted 3 years ago* (last edited 3 years ago) by snaggen@programming.dev to c/rust@programming.dev

The test experience in IDE:s broke before the summer, due to a fix to prevent the non-stable json format to be used in stable rust. So, now the test experience is non-optimal in Intellij Rust for example, which basically just invokes a terminal.

But I still see no work being done to fix this? Is there an RFC to stabilize this that I just have missed? I see nrc propose to stabilize the current format as json-1.0 , but with no response. I find it strange that the testing experience was broken, with no hurry to fix it. Or am I missing something?

1135
110
1136
19
This Week in Rust 510 (this-week-in-rust.org)
1137
27
1138
64
1139
33
submitted 3 years ago* (last edited 3 years ago) by snaggen@programming.dev to c/rust@programming.dev
1140
24

Added

  • Add HttpServer::{bind, listen}_auto_h2c() methods behind new http2 crate feature.
  • Add HttpServer::{bind, listen}_rustls_021() methods for Rustls v0.21 support behind new rustls-0_21 crate feature.
  • Add Resource::{get, post, etc...} methods for more concisely adding routes that don't need additional guards.
  • Add web::Payload::to_bytes[_limited]() helper methods.
  • Add missing constructors on HttpResponse for several status codes.
  • Add http::header::ContentLength typed header.
  • Implement Default for web::Data.
  • Implement serde::Deserialize for web::Data.
  • Add rustls-0_20 crate feature, which the existing rustls feature now aliases.

Changed

  • Handler functions can now receive up to 16 extractor parameters.
  • The Compress middleware no longer compresses image or video content.
  • Hide sensitive header values in HttpRequest's Debug output.
  • Minimum supported Rust version (MSRV) is now 1.68 due to transitive time dependency.
1141
24
1142
46
1143
15

Normally IntelliJ Rust had Bi Weekly releases on Mondays, but now it seems that the last release was on August 7. Ok, that is not so long ago that anyone need to be worried I guess. But Intellij Rust releases have been ticking like a clock, so I'm just surprised from the sudden change and get curious about the underlying reasons.

1144
26
1145
12
Rust Analyzer Changelog #196 (rust-analyzer.github.io)
1146
13
submitted 3 years ago* (last edited 3 years ago) by erlend_sh@lemmy.world to c/rust@programming.dev

Kitsune is still pre-alpha so it’s not yet ready for production use, but it’s getting very close now and several new contributors have come along to help out.

In light of interop initiatives like the Lemmy/Kbin Reinvestment Phase and Recruiting from Mastodon, I think Kitsune-Lemmy interoperability is an equally important development. Since both are made in Rust it should be easier to find common ground, as well as building direct integrations between the two.

Mastodon link: https://corteximplant.com/@0x0/110966619830615470

1147
83

I didn't know I needed it, but what I know is that I will download it.

1148
40
Data With Rust (datawithrust.com)
1149
285
1150
7
Day 22 of #100daysofcode (mastodon.social)

Day 22 of #100daysofcode
React:
🌐 Importance of Keys in React
🌐 Added final touch to the Tic-Tac-Toe game, still figuring out deployment.

If anyone knows how to deploy react code, PLEASE HELP!!

@rust :

🦀Cargo - The Package manager of Rust.
🦀Cargo.toml --> Config files for Rust like JSON.
🦀Cargo run, cargo build, and cargo check commands and uses.
🦀Started making a guessing game in Rust as a hands-on Project.

Follow for a Crab 🦀 --> @0xsaksham

view more: ‹ prev next ›

Rust

8252 readers
30 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