Skip to content
TILens What matters today in tech v0.4.0
Theme
Topics - Rust
Calendar · NOV 2026
‹ Nov 2026 ›
  1. JAN
  2. FEB
  3. MAR
  1. APR
  2. MAY
  3. JUN
  1. JUL
  2. AUG
  3. SEP
  1. OCT
  2. NOV
  3. DEC
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30
Favorites (0)

Community stream

Community

Trait implementation with generic parameter

Working on an evaluation tree structure, I have a trait that I'm using to let the tree struct use dyn trait bounds on a vec of branch objects: trait Eval { fn eval(&self, vl: &VarList) -> bool; } Essentially a trait declaring that the struct can…

rust-users-forum

CLI project structure in Rust

Hello everyone, I’d like to start another command-line application, but I’m unsure about the directory structure for this type of project. Many of the applications I’ve created are in a single file – in this case, the main file. Many thanks if…

rust-users-forum

Why From<OwnedFd> is safe?

Hi! I was using libc FFI crate, I'm transforming i32 -> OwnedFd -> TcpListener and instead of writing from_raw_fd(&fd) I've accidentally used from(fd): (something like this) let socket: OwnedFd = socket(/* ... */); let listener = unsafe {…

rust-users-forum

What do YOU do instead of providing abstract base classes?

Fairly often in other languages, it's helpful for a library provider to provide an abstract base class that partially or fully implements an interface, when users of the library will want to provide their own implementations. Users can then override…

rust-users-forum

Establish Rust on OpenVMS

I think that OS should have this compiler available on the X86-64 platform. There are 4: VAX, Alpha, Itanium, X86_64. VSI provides an X86_64 Community license for non-commercial tinkering, and I have a spare Intel I7 MacBook available. OVMS runs as…

rust-users-forum

Export application with custom icon in Rustroid

I recently created a simple application to test Rustroid and I really loved the results, however I was trying to change the application icon, and so far I haven't found a way to do it. I know there's an image called rustroid.png in the assets…

rust-users-forum

Encountered invalid memory reference while removing nodes

#[derive(Debug)] struct Node<T> { data: T, next: Mutex<*mut Node<T>>, } #[derive(Debug)] pub struct List<T> { head: Mutex<*mut Node<T>>, } every node in this List is Box::into_rawed. I encountered an invalid memory reference error message while…

rust-users-forum

Does the emudhra certificate leak affect cargo?

There's a update for rustup, but not for cargo, is that because cargo was only indirectly affected (e.g. because it just uses the OS's certificates), or is it still vulnerable? 3 posts - 3 participants Read full topic

rust-users-forum

SAFETY comments - nomicon

This, in an ongoing discussion on URLO, really hit home for me too. Jookia: Looking at the random crates I have downloaded, sdl3-sys, sdl3-rs, parley, fontations, they all use unsafe without a SAFETY quite a lot. std is even guilty of it, but seems…

rust-internals

Rustup -self uninstall made my pc unrespondable

Helle. I tryid installing rust useing "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh" And everything went fine. After a while i did "rustup --self uninstall" and thats where everything broke. My computer stopped beeing responsable…

rust-users-forum

How to make app plugins/extensions?

I don't know if this is possible. If I create an application, distributed as a closed-source native binary, can I also distribute plugins a separate binary files that extend the functionality of that app? Or is there not enough stable ABI for this?…

rust-users-forum

444 items available