this post was submitted on 26 Apr 2025
1 points (100.0% liked)

The Rust Programming Language

40 readers
1 users here now

A place for all things related to the Rust programming language—an open-source systems language that emphasizes performance, reliability, and...

founded 2 years ago
MODERATORS
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/rust by /u/venturepulse on 2025-04-25 21:32:41+00:00.


While working on my web research, I ended up writing a small function to make newline characters consistent: either Unix (\n) or DOS (\r\n) style.

I noticed existing crates like newline-converter don't use SIMD. Mine does, through memchr, so I figured I'd publish it as its own crate: newline_normalizer.

Rust has been super helpful for me thanks to the amazing community and tools out there. I thought it’s time to start giving back a bit.

This crate is just a small piece, but it’ll eventually fit into a bigger text normalization toolbox I'm putting together. This toolbox would primarily help data scientists working in natural language processing and web text research fields.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here