Oxc (popular front-end tooling) forked my parser but deliberately removed my copyright notice
https://github.com/oxc-project/oxc-css-parser/issues/92
https://redd.it/1unst9n
@r_rust
https://github.com/oxc-project/oxc-css-parser/issues/92
https://redd.it/1unst9n
@r_rust
GitHub
Please don't remove original copyright notice from license and readme · Issue #92 · oxc-project/oxc-css-parser
Original copyright notice was removed in this commit: 6517b49 , but this project is forked from g-plane/raffia which is licensed under MIT. Removing original copyright notice violates the requireme...
Looking for OSS projects to contribute to
I want to improve my rust skills by contributing to OSS projects on a consistent basis.
My professional work involves a lot of rust but it's limited to web development. I want to explore other areas (Databases , AI toolchain , agent frameworks)
Is there anyone here who would like help on their project. Would love to collaborate.
https://redd.it/1unu4en
@r_rust
I want to improve my rust skills by contributing to OSS projects on a consistent basis.
My professional work involves a lot of rust but it's limited to web development. I want to explore other areas (Databases , AI toolchain , agent frameworks)
Is there anyone here who would like help on their project. Would love to collaborate.
https://redd.it/1unu4en
@r_rust
Reddit
From the rust community on Reddit
Explore this post and more from the rust community
custom x86_64 rust microkernel with software ECC and a macOS-like desktop i've been writing
https://redd.it/1uo1rj8
@r_rust
https://redd.it/1uo1rj8
@r_rust
Is Hyper crate independent of the async runtime? I want to use something that uses io-uring like monoio
Im building reverse proxy. Is there any other helpful crates for http-parsing and modifying headers.
https://redd.it/1unwlj2
@r_rust
Im building reverse proxy. Is there any other helpful crates for http-parsing and modifying headers.
https://redd.it/1unwlj2
@r_rust
Reddit
From the rust community on Reddit
Explore this post and more from the rust community
Oxc (popular front-end tooling) forked my parser but deliberately removed my copyright notice
https://web.archive.org/web/20260705125328/https://github.com/oxc-project/oxc-css-parser/issues/92
https://redd.it/1uo1lo9
@r_rust
https://web.archive.org/web/20260705125328/https://github.com/oxc-project/oxc-css-parser/issues/92
https://redd.it/1uo1lo9
@r_rust
GitHub
Please don't remove original copyright notice from license and readme · Issue #92 · oxc-project/oxc-css-parser
Original copyright notice was removed in this commit: 6517b49 , but this project is forked from g-plane/raffia which is licensed under MIT. Removing original copyright notice violates the requireme...
skewrun v1.1.0 – library-first Active Directory time-skew tool (CLDAP/SMB/NTP/Kerberos/NTLM), property-tested and fuzzed
https://github.com/JVBotelho/skewrun
https://redd.it/1uo782d
@r_rust
https://github.com/JVBotelho/skewrun
https://redd.it/1uo782d
@r_rust
GitHub
GitHub - JVBotelho/skewrun: Active Directory time discovery protocols for red teams. Stealthy extraction via Kerberos, SMB, NTLM…
Active Directory time discovery protocols for red teams. Stealthy extraction via Kerberos, SMB, NTLM, and CLDAP. - JVBotelho/skewrun
Introducing hiper 0.5.0: maud alternative using decl macros
I spent the last week coding up this library to be an alternative option on HTML rendering via macros, like maud, vy and others.
My take on this one was to use as few dependencies as possible and keep the code terse and to the point. This comes with trade-offs, but I'm proud of what could be achieved with a little declarative macro magic.
I'm looking for feedback on the crate, questions, comments, anything!
Cheers!
PS: I'm aware of the [askama templating benchmarks\](https://github.com/askama-rs/template-benchmark) and I already have a local branch that puts this library in a competitive spot. I'll PR it later, just fixing a few things.
PPS: I used no AI on this project, not even for proof reading the README and stuff, so forgive me for typos (but point them out so I can fix them).
Github: https://github.com/lsunsi/hiper
Crates: https://crates.io/crates/hiper
Docs: https://docs.rs/hiper/latest/hiper/
https://redd.it/1uo6sfy
@r_rust
I spent the last week coding up this library to be an alternative option on HTML rendering via macros, like maud, vy and others.
My take on this one was to use as few dependencies as possible and keep the code terse and to the point. This comes with trade-offs, but I'm proud of what could be achieved with a little declarative macro magic.
I'm looking for feedback on the crate, questions, comments, anything!
Cheers!
PS: I'm aware of the [askama templating benchmarks\](https://github.com/askama-rs/template-benchmark) and I already have a local branch that puts this library in a competitive spot. I'll PR it later, just fixing a few things.
PPS: I used no AI on this project, not even for proof reading the README and stuff, so forgive me for typos (but point them out so I can fix them).
Github: https://github.com/lsunsi/hiper
Crates: https://crates.io/crates/hiper
Docs: https://docs.rs/hiper/latest/hiper/
https://redd.it/1uo6sfy
@r_rust
GitHub
GitHub - askama-rs/template-benchmark: Comparison of template engines written in and for Rust.
Comparison of template engines written in and for Rust. - askama-rs/template-benchmark
Arti v2.5 - Tor implementation in Rust
https://alternativeto.net/news/2026/7/arti-2-5-brings-stable-counter-galois-onion-default-congestion-control-and-security-fixes/
https://redd.it/1uodscn
@r_rust
https://alternativeto.net/news/2026/7/arti-2-5-brings-stable-counter-galois-onion-default-congestion-control-and-security-fixes/
https://redd.it/1uodscn
@r_rust
AlternativeTo
Arti 2.5 brings stable Counter Galois Onion, default Congestion Control and security fixes
Arti 2.5, the next-generation Tor implementation in Rust, brings stable Counter Galois Onion encryption, Congestion Control enabled by default, patches for DoS vulnerabilities, minimum Rust support increased to 1.91, and ongoing relay development.
Drawing UI in rust is interesting
MacOS
Here is my simple landing page that using Rust \+ Wgpu and using WebGPU for rendering. first loading it would take some times.
https://aimer.cottonsofficial.com
https://redd.it/1uob6ap
@r_rust
MacOS
Here is my simple landing page that using Rust \+ Wgpu and using WebGPU for rendering. first loading it would take some times.
https://aimer.cottonsofficial.com
https://redd.it/1uob6ap
@r_rust
insta snapshot testing and yaml failure
I'm working on a vb6 parsing library and I've just now started using some 'edge' tests, ie, source files which are just odd and weird and out of line. For example, I've got one module file that's almost 50k lines by itself. Now, the parser works great...chews through the file in less than 4ms. Wonderful! Except the insta snapshot crate takes literally *minutes* to produce a yaml file.
I need a real actual tree output so the `assert_debug_snapshot`, `assert_snapshot`, and `assert_compact_debug_snapshot` don't really work.
So, 'assert_yaml_snapshot` has been my only real option, but it's *slooooow* just, staggeringly slow and this added up, but with this new strange giant file it's just beyond too much.
Any suggestions?
https://redd.it/1uol9jr
@r_rust
I'm working on a vb6 parsing library and I've just now started using some 'edge' tests, ie, source files which are just odd and weird and out of line. For example, I've got one module file that's almost 50k lines by itself. Now, the parser works great...chews through the file in less than 4ms. Wonderful! Except the insta snapshot crate takes literally *minutes* to produce a yaml file.
I need a real actual tree output so the `assert_debug_snapshot`, `assert_snapshot`, and `assert_compact_debug_snapshot` don't really work.
So, 'assert_yaml_snapshot` has been my only real option, but it's *slooooow* just, staggeringly slow and this added up, but with this new strange giant file it's just beyond too much.
Any suggestions?
https://redd.it/1uol9jr
@r_rust
Reddit
From the rust community on Reddit
Explore this post and more from the rust community
maplike: Traits for abstract containers and operations on them
Hello!
I would like to share my crate, maplike. Maplike provides traits for common operations, .get(), .set(), .insert(), .remove(), .push(), .pop(), .into_iter() etc., over container data structures, such as std's Vec, BTreeMap, BTreeSet, HashMap, HashSet and for multiple third-party types, e.g. stable_vec::StableVec, thunderdome::Arena, tinyvec::ArrayVec, tinyvec::TinyVec.
Link: https://github.com/mikwielgus/maplike
I developed this library for myself to make it possible to write code that is generic over different collection-like data types. These types all have considerable similarities between their interfaces, but I couldn't find a suitable library with traits to abstract the shared behavior that I needed, so I rolled my own.
Basically, this is Python's collections.abc, but in Rust, and with traits not only for different kinds of containers, but also for each operation.
I maintain this library and dogfood it in my other two crates:
undoredo \- Undo/Redo and non-linear history tree using sparse deltas (diffs), snapshots, or commands on arbitrary data structures.
dcel \- half-edge data structure that is generic over its containers.
Feedback is welcome!
Below are two code examples taken from the readme:
First example. Function that gets the second element of a collection that is generic over `Vec`, array, `BTreeMap`:
use std::collections::BTreeMap;
use maplike::Get;
// Generic over any collection implementing the
fn getsecondelement<C: Get<usize>>(collection: &C) -> Option<&C::Value> {
collection.get(&1)
}
//
// same code.
asserteq!(getsecondelement(&vec![10, 20, 30]), Some(&20));
asserteq!(getsecondelement(&10, 20, 30), Some(&20));
asserteq!(getsecondelement(&BTreeMap::from([(0, 10), (1, 20)])), Some(&20));use std::collections::BTreeMap;
Second example. Code that is generic over \`Vec\`, \`tinyvec::ArrayVec\`, \`tinyvec::TinyVec\`:
use maplike::{Clear, Push, Veclike};
use tinyvec::{ArrayVec, TinyVec};
// This function is generic over any `Veclike` collection. The `Veclike` bound
// provides `.clear()`, `.push()` and many other methods at once.
fn replaceall<C: Veclike<usize, Value = i32>>(collection: &mut C, values: &i32) {
collection.clear();
for &value in values {
collection.push(value);
}
}
//
// Works on
let mut vec = Vec::new();
replaceall(&mut vec, &[1, 2, 3]);
asserteq!(vec, 1, 2, 3);
replaceall(&mut vec, &[4, 5, 6]);
asserteq!(vec, 4, 5, 6);
// Works on
let mut arrayvec: ArrayVec<[i32; 8]> = ArrayVec::new();
replaceall(&mut arrayvec, &[7, 8, 9]);
asserteq!(arrayvec.asslice(), 7, 8, 9);
// Works on
let mut tinyvec: TinyVec<[i32; 8]> = TinyVec::new();
replaceall(&mut tinyvec, &[10, 11, 12]);
asserteq!(tinyvec.asslice(), 10, 11, 12);use maplike::{Clear, Push, Veclike};
https://redd.it/1uoqccw
@r_rust
Hello!
I would like to share my crate, maplike. Maplike provides traits for common operations, .get(), .set(), .insert(), .remove(), .push(), .pop(), .into_iter() etc., over container data structures, such as std's Vec, BTreeMap, BTreeSet, HashMap, HashSet and for multiple third-party types, e.g. stable_vec::StableVec, thunderdome::Arena, tinyvec::ArrayVec, tinyvec::TinyVec.
Link: https://github.com/mikwielgus/maplike
I developed this library for myself to make it possible to write code that is generic over different collection-like data types. These types all have considerable similarities between their interfaces, but I couldn't find a suitable library with traits to abstract the shared behavior that I needed, so I rolled my own.
Basically, this is Python's collections.abc, but in Rust, and with traits not only for different kinds of containers, but also for each operation.
I maintain this library and dogfood it in my other two crates:
undoredo \- Undo/Redo and non-linear history tree using sparse deltas (diffs), snapshots, or commands on arbitrary data structures.
dcel \- half-edge data structure that is generic over its containers.
Feedback is welcome!
Below are two code examples taken from the readme:
First example. Function that gets the second element of a collection that is generic over `Vec`, array, `BTreeMap`:
use std::collections::BTreeMap;
use maplike::Get;
// Generic over any collection implementing the
Get trait.fn getsecondelement<C: Get<usize>>(collection: &C) -> Option<&C::Value> {
collection.get(&1)
}
//
get_second_element() works for Vecs, arrays, and maps with the very// same code.
asserteq!(getsecondelement(&vec![10, 20, 30]), Some(&20));
asserteq!(getsecondelement(&10, 20, 30), Some(&20));
asserteq!(getsecondelement(&BTreeMap::from([(0, 10), (1, 20)])), Some(&20));use std::collections::BTreeMap;
Second example. Code that is generic over \`Vec\`, \`tinyvec::ArrayVec\`, \`tinyvec::TinyVec\`:
use maplike::{Clear, Push, Veclike};
use tinyvec::{ArrayVec, TinyVec};
// This function is generic over any `Veclike` collection. The `Veclike` bound
// provides `.clear()`, `.push()` and many other methods at once.
fn replaceall<C: Veclike<usize, Value = i32>>(collection: &mut C, values: &i32) {
collection.clear();
for &value in values {
collection.push(value);
}
}
//
replace_all() now works for any Veclike collection.// Works on
Vec,let mut vec = Vec::new();
replaceall(&mut vec, &[1, 2, 3]);
asserteq!(vec, 1, 2, 3);
replaceall(&mut vec, &[4, 5, 6]);
asserteq!(vec, 4, 5, 6);
// Works on
tinyvec::ArrayVec.let mut arrayvec: ArrayVec<[i32; 8]> = ArrayVec::new();
replaceall(&mut arrayvec, &[7, 8, 9]);
asserteq!(arrayvec.asslice(), 7, 8, 9);
// Works on
tinyvec::TinyVec.let mut tinyvec: TinyVec<[i32; 8]> = TinyVec::new();
replaceall(&mut tinyvec, &[10, 11, 12]);
asserteq!(tinyvec.asslice(), 10, 11, 12);use maplike::{Clear, Push, Veclike};
https://redd.it/1uoqccw
@r_rust
GitHub
GitHub - mikwielgus/maplike: Traits for abstract containers and operations over them for std and external crates.
Traits for abstract containers and operations over them for std and external crates. - mikwielgus/maplike
Is rust a complete web dev language?
Recently found out that rust can be used to write frontend as well as the backend. How is the state of the frontend in rust compared to JavaScript frameworks like react or vue? Is it practical to use for production apps? Is there big community supporting rust frontend?
https://redd.it/1uottji
@r_rust
Recently found out that rust can be used to write frontend as well as the backend. How is the state of the frontend in rust compared to JavaScript frameworks like react or vue? Is it practical to use for production apps? Is there big community supporting rust frontend?
https://redd.it/1uottji
@r_rust
Reddit
From the rust community on Reddit
Explore this post and more from the rust community
Hey Rustaceans! Got a question? Ask here (28/2026)!
Mystified about strings? Borrow checker has you in a headlock? Seek help here! There are no stupid questions, only docs that haven't been written yet. Please note that if you include code examples to e.g. show a compiler error or surprising result, linking a playground with the code will improve your chances of getting help quickly.
If you have a StackOverflow account, consider asking it there instead! StackOverflow shows up much higher in search results, so ahaving your question there also helps future Rust users (be sure to give it the "Rust" tag for maximum visibility). Note that this site is very interested in question quality. I've been asked to read a RFC I authored once. If you want your code reviewed or review other's code, there's a codereview stackexchange, too. If you need to test your code, maybe the Rust playground is for you.
Here are some other venues where help may be found:
/r/learnrust is a subreddit to share your questions and epiphanies learning Rust programming.
The official Rust user forums: https://users.rust-lang.org/.
The unofficial Rust community Discord: https://bit.ly/rust-community
Also check out last week's thread with many good questions and answers. And if you believe your question to be either very complex or worthy of larger dissemination, feel free to create a text post.
Also if you want to be mentored by experienced Rustaceans, tell us the area of expertise that you seek. Finally, if you are looking for Rust jobs, the most recent thread is here.
https://redd.it/1uox0x9
@r_rust
Mystified about strings? Borrow checker has you in a headlock? Seek help here! There are no stupid questions, only docs that haven't been written yet. Please note that if you include code examples to e.g. show a compiler error or surprising result, linking a playground with the code will improve your chances of getting help quickly.
If you have a StackOverflow account, consider asking it there instead! StackOverflow shows up much higher in search results, so ahaving your question there also helps future Rust users (be sure to give it the "Rust" tag for maximum visibility). Note that this site is very interested in question quality. I've been asked to read a RFC I authored once. If you want your code reviewed or review other's code, there's a codereview stackexchange, too. If you need to test your code, maybe the Rust playground is for you.
Here are some other venues where help may be found:
/r/learnrust is a subreddit to share your questions and epiphanies learning Rust programming.
The official Rust user forums: https://users.rust-lang.org/.
The unofficial Rust community Discord: https://bit.ly/rust-community
Also check out last week's thread with many good questions and answers. And if you believe your question to be either very complex or worthy of larger dissemination, feel free to create a text post.
Also if you want to be mentored by experienced Rustaceans, tell us the area of expertise that you seek. Finally, if you are looking for Rust jobs, the most recent thread is here.
https://redd.it/1uox0x9
@r_rust
play.rust-lang.org
Rust Playground
A browser interface to the Rust compiler to experiment with the language
What's everyone working on this week (28/2026)?
New week, new Rust! What are you folks up to? Answer here or over at rust-users!
https://redd.it/1uox270
@r_rust
New week, new Rust! What are you folks up to? Answer here or over at rust-users!
https://redd.it/1uox270
@r_rust
The Rust Programming Language Forum
What's everyone working on this week (28/2026)?
New week, new Rust! What are you folks up to?
Compiling Rust to JVM is now ~36x faster after a rewrite of stack map generation and more refactors to rustc_codegen_jvm! (context, repo links and script to reproduce in comments!)
https://redd.it/1uowc3f
@r_rust
https://redd.it/1uowc3f
@r_rust
WATaBoy: JIT-Ing Game Boy Instructions to WASM Beats a Native Interpreter
https://humphri.es/blog/WATaBoy/
https://redd.it/1uoxjnd
@r_rust
https://humphri.es/blog/WATaBoy/
https://redd.it/1uoxjnd
@r_rust
humphri.es
WATaBoy: JIT-ing Game Boy Instructions to Wasm Beats a Native Interpreter
A Game Boy emulator runs faster than a native interpreter by dynamically recompiling SM83 to WebAssembly, effectively making JIT possible on iOS.