Skip to content
TILens What matters today in tech v0.0.9
Theme

Topic - Edition

Rust

8 items on 23 Aug 2026
Rust GitHub

actix/actix-web: actix-multipart: v0.8.1

Fix multipart field parsing when boundary delimiter is split across payload chunks. Improve detail in some error messages.

Source: Actix Web Releases robjtede
Rust

How to prevent stack overflow when dropping deep structures?

Hi, I'm porting tests of custom JSON parser from another language to Rust. The original library contains test with 10 million nested JSON arrays. I can parse it in Rust easily. But unfortunately the problem happens when…

Source: Rust Users Forum radekm
Rust

Current font/glyph/vector rasterizer?

Greetings friends, I've been poking at the Rust font stack for the past few days. I'm going to probably end up using the fontations stack as well as HarfRust to handle a good amount of my text woes. But that still…

Source: Rust Users Forum Jookia
Rust

Another approach to the nonzero macro

Initialization of a nonzero number, where assertion happens at compile time: // Using macro_rules for performant compilation, tested to work in stable Rust #[macro_export] macro_rules! nonzero { ($n:expr) => { // This…

Source: Rust Internals Forum TGODiamond
Rust

Why Vec's API isn't bigger than it's iter?

Even though IDEs can autocomplete function calls, I find myself calling .iter() on Vec almost every single time. Why is that? I know Vec has powerful APIs like extend(), but in fact I often need foreach(), filter(), and…

Source: Rust Users Forum BennyLi
Rust

Problem using Stream in Tokio Task

With following code, I get error that "implementation of std::ops::FnOnce is not general enough" and "no two async blocks, even if identical, have the same type. consider pinning your async block and casting it to a…

Source: Rust Users Forum Magicloud
Rust

Override workspace.lints

Hello, I wish to override the workspace.lints from the workspace in sub crates. I found this. Is there a workaround ? Thank you very much in advance for any help 4 posts - 3 participants Read full topic

Source: Rust Users Forum CoreSegfault
Rust

Serialization/serde library in rust which tags structs with ids?

I am playing around with sending structs (serialized over to json), over a tcp connection, unfortunately the struct type is lost, and chaining a bunch of from_slice for various different structs wont work if the fields…

Source: Rust Users Forum SpiderUnderUrBed