A #rustlang feature I often want to reach for: an #[unimplemented] attribute I can put on functions that lets me set up the function signature but results in an error if called from a function that is also not marked similarly. This would be really useful for sketching out the design of a future API without needing to commit to it today, or run the risk of a dependent crate accidentally relying on its existence if its body is unimplemented!().

Also did a RENEGADE arthack.nz SHOW during a lunch break:

- 🎶 Music: @noiseissues aka DESTROY WITH SCIENCE with controlled by Rasberry Pi sequencer written in Rust.
- 🌈 Visuals: jackvpurvis.com aka Visor using visor.live/ written in Rust.
- 🧊 LEDs: My cube using blinksy.dev in Rust.

Music and visuals created , everything powered by .

A small live performance setup during a lunch break. Two people operate electronic music and visual equipment on a table: a laptop showing generative visuals, a modular Eurorack synthesizer with glowing patch cables, and a cube covered in colorful LED lights. Behind them, a large projection screen displays pulsing, symmetrical patterns in sync with the music and visuals.
A small live performance setup during a lunch break. Two people operate electronic music and visual equipment on a table: a laptop showing generative visuals, a modular Eurorack synthesizer with glowing patch cables, and a cube covered in colorful LED lights. Behind them, a large projection screen displays pulsing, symmetrical patterns in sync with the music and visuals.

Arti 1.5.0 is out! 🦀
The Rust-based Tor implementation adds new client features:
– Conflux
– Flow & congestion control
– Onion service PoW
– Bug fix for client bootstrapping 🛠️

MSRV now set to Rust 1.85.
Full changelog:
🔗 https://gitlab.torproject.org/tpo/core/arti/-/blob/main/CHANGELOG.md?ref_type=heads#arti-150--28-august-2025

@torproject

#Tor#Arti#Rust#RustLang#OpenSource#Privacy#Cybersecurity#Anonymity#InfoSec#Tails#Decentralization#Encryption#Networking#Onion#FOSS#RustDev#InternetFreedom#Freedom#DigitalRights#Security#CyberSecurity#Browser

alcinnz
alcinnz boosted

Async #Rust is actually awesome! awesome

The last few days I've built a prototype(!) of a global "Hotkey" system e.g.:

Press & Hold LCtrl + Space
=> an async stream starts and only finishes if:
- another key is pressed or
- one of the Hotkeys is released

If it is not clear by now: this is a state-machine, which fits perfectly into Rust's #async model!

And the best part: This is actually the first time I've ever touched async #RustLang! Such a pleasant experience!

1/?

#AsyncRust

alcinnz
alcinnz boosted

Cross-compiling a #Rust project that has custom build scripts that build C/C++ dependencies is an absolute clusterfuck!

I'm trying to cross-compile a Rust project from #Linux -> #Windows (x86_64-pc-windows-gnu) and I get walls of errors!

Some I could already fix by setting env vars to different compilers (gcc, g++, oh my!), but now I'm stuck. Maybe some missing compiler flags to gcc?

Or could it be related to this?
=> https://stackoverflow.com/a/53635241

#Help #RustLang#CrossCompile#CrossCompilation

Output of the terminal after cross-compiling the whisper-rs crate from Linux to Windows (warning: the output is very long):

  -- Detecting C compiler ABI info - failed
     Called from: [3]   /usr/share/cmake-3.28/Modules/CMakeDetermineCompilerABI.cmake
                  [2]   /usr/share/cmake-3.28/Modules/CMakeTestCCompiler.cmake
                  [1]   /home/jan/Dev-Projects/repos/talky/target/x86_64-pc-windows-gnu/release/build/whisper-rs-sys-90a1c9a45fb90ba6/out/whisper.cpp/CMakeLists.txt
  -- Check for working C compiler: /usr/bin/gcc
     Called from: [3]   /usr/share/cmake-3.28/Modules/CMakeTestCompilerCommon.cmake
                  [2]   /usr/share/cmake-3.28/Modules/CMakeTestCCompiler.cmake
                  [1]   /home/jan/Dev-Projects/repos/talky/target/x86_64-pc-windows-gnu/release/build/whisper-rs-sys-90a1c9a45fb90ba6/out/whisper.cpp/CMakeLists.txt
  -- Check for working C compiler: /usr/bin/gcc - broken
     Called from: [3]   /usr/share/cmake-3.28/Modules/CMakeTestCompilerCommon.cmake
                  [2]   /usr/share/cmake-3.28/Modules/CMakeTestCCompiler.cmake
                  [1]   /home/jan/Dev-Projects/repos/talky/target/x86_64-pc-windows-gnu/release/build/whisper-rs-sys-90a1c9a45fb90ba6/out/whisper.cpp/CMakeLists.txt
  -- Configuring incomplete, errors occurred!

  --- stderr
  ./whisper.cpp/ggml/include/ggml.h:210:10: fatal error: 'stdio.h' file not found
Output of the terminal after cross-compiling the whisper-rs crate from Linux to Windows (warning: the output is very long): -- Detecting C compiler ABI info - failed Called from: [3] /usr/share/cmake-3.28/Modules/CMakeDetermineCompilerABI.cmake [2] /usr/share/cmake-3.28/Modules/CMakeTestCCompiler.cmake [1] /home/jan/Dev-Projects/repos/talky/target/x86_64-pc-windows-gnu/release/build/whisper-rs-sys-90a1c9a45fb90ba6/out/whisper.cpp/CMakeLists.txt -- Check for working C compiler: /usr/bin/gcc Called from: [3] /usr/share/cmake-3.28/Modules/CMakeTestCompilerCommon.cmake [2] /usr/share/cmake-3.28/Modules/CMakeTestCCompiler.cmake [1] /home/jan/Dev-Projects/repos/talky/target/x86_64-pc-windows-gnu/release/build/whisper-rs-sys-90a1c9a45fb90ba6/out/whisper.cpp/CMakeLists.txt -- Check for working C compiler: /usr/bin/gcc - broken Called from: [3] /usr/share/cmake-3.28/Modules/CMakeTestCompilerCommon.cmake [2] /usr/share/cmake-3.28/Modules/CMakeTestCCompiler.cmake [1] /home/jan/Dev-Projects/repos/talky/target/x86_64-pc-windows-gnu/release/build/whisper-rs-sys-90a1c9a45fb90ba6/out/whisper.cpp/CMakeLists.txt -- Configuring incomplete, errors occurred! --- stderr ./whisper.cpp/ggml/include/ggml.h:210:10: fatal error: 'stdio.h' file not found