Rust Text processing

Open-source Rust projects categorized as Text processing

Top 23 Rust Text processing Projects

Text processing
  1. ripgrep

    ripgrep recursively searches directories for a regex pattern while respecting your gitignore

    Project mention: Don't use musl if you care about performance | news.ycombinator.com | 2026-08-28

    It's not really disputed since musl without mimalloc has a 144% overhead, so most of the performance issues do indeed come from the allocator, by a pretty large margin (~85% of it). Not only that, but some of the "other code" performance hit might still come from the allocator: when you set a global allocator on the Rust side, musl still uses its own allocator internally (as demonstrated by https://github.com/BurntSushi/ripgrep/issues/3494).

    And the compounding issue is that the allocator issues get significantly worse as parallelism increases, as the allocator is serial, so as concurrency increases so does the impact of the allocator, which is not the case for most of the "regular slow" code (of musl), those have a relatively constant overhead per thread.

  2. AppSignal

    Monitoring that respects your time & budget. APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product.

    AppSignal logo
  3. sd

    Intuitive find & replace CLI (sed alternative)

    Project mention: How to setup Terminal tools for Mac | dev.to | 2026-04-07

    chmln/sd

  4. regex

    An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.

    Project mention: Brave Browser unable to block certain ads due to Rust language limitations | news.ycombinator.com | 2026-03-27

    The title of this post is currently "Brave Browser unable to block certain ads due to Rust language limitations", which is ludicrous editorialization. Rust doesn't have regex in the language. Rust doesn't even have regex in the stdlib. The most popular crate for regex is https://crates.io/crates/regex , which is an engine whose design deliberately puts a reasonable upper bound on worst-case time complexity by deliberately excluding certain features. Guess what, if you want lookaround, there are regex engines in other crates that offer that: https://crates.io/crates/fancy-regex

  5. nucleo

    A fast and convenient fuzzy matcher library for rust

    Project mention: I built a local-only shell history manager in Rust with AI agent tracking | dev.to | 2026-03-14

    Fuzzy search powered by nucleo (same engine as Helix editor). Features:

  6. Fluent

    Rust implementation of Project Fluent

    Project mention: MessageFormat: Unicode standard for localizable message strings | news.ycombinator.com | 2026-02-16

    ```

    > How does layering pt_BR on pt_PT work?

    MF does not prescribe fallback behavior. It also more popular to treat each locale as "complete" and fill "gaps" at build time. So at runtime you have `pt-BR` which has pt-BR strings and missing ones "completed" from `pt` (parent locale).

    Fluent has a "resource manager" (simple one like this: https://github.com/projectfluent/fluent-rs/tree/main/fluent-... or more complex like Mozilla L10nRegistry), which can fallback at runtime, allowing for what we call "partial locales" which can roll out to production with gaps and the resource manager will fetch the fallback strings from the parent locale.

    > What is a compelling reason to switch?

    If you and your users are happy with gettext, none!

    If either of those groups complain, there may be many:

  7. pomsky

    A new, portable, regular expression language

  8. aho-corasick

    A fast implementation of Aho-Corasick in Rust.

  9. Kargo

    Stop Scripting Promotions. Start Shipping with Kargo. Kargo automates promotion across dev, staging, and prod with approval gates and verification. Open source, built by the team behind Argo CD. Download now.

    Kargo logo
  10. whatlang-rs

    Natural language detection library for Rust. Try demo online: https://whatlang.org/

  11. hck

    A sharp cut(1) clone.

  12. textwrap

    An efficient and powerful Rust library for word wrapping text.

  13. suffix

    Fast suffix arrays for Rust (with Unicode support).

  14. tabwriter

    Elastic tabstops for Rust.

  15. headson

    head/tail for structured data - summarize/preview JSON/YAML and source code

    Project mention: Show HN: Headson – structure‑aware head/tail for JSON/YAML and source code | news.ycombinator.com | 2025-12-18
  16. UNIC

    UNIC: Unicode and Internationalization Crates for Rust

  17. rgx

    regex101 for the terminal — real-time matching, 3 engines, capture groups, replace mode, syntax highlighting, plain-English explanations, undo/redo, mouse support. Written in Rust. (by brevity1swos)

    Project mention: Rgx – terminal regex debugger with JSON output, colored matching, and 3 engines | news.ycombinator.com | 2026-03-24
  18. cpc

    Text calculator with support for units and conversion

  19. sliceslice-rs

    A fast implementation of single-pattern substring search using SIMD acceleration.

  20. srch

    Text search for humans

  21. nlpo3

    Thai natural language processing library in Rust, with Python and Node bindings.

  22. ngrams

    (Read-only) Generate n-grams

  23. rule72

    Git commit message formatter

  24. Matcher

    A high-performance matcher designed to solve LOGICAL and TEXT VARIATIONS problems in word matching, implemented in Rust. (by Lips7)

  25. untanglr

    Probabilistically split concatenated words using NLP based on English Wikipedia unigram frequencies.

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Rust Text processing discussion

Log in or Post with

Rust Text processing related posts

  • RipGrep musl binaries occasionally segfault during very-large searches

    7 projects | news.ycombinator.com | 1 Aug 2026
  • Grit: Rewriting Git in Rust with Agents

    15 projects | news.ycombinator.com | 9 Jun 2026
  • Ripgrep AI Policy

    2 projects | news.ycombinator.com | 27 May 2026
  • How to escape note-taking lock-in with plain markdown and git

    2 projects | dev.to | 18 May 2026
  • Tell HN: Fastmod Is Nice

    1 project | news.ycombinator.com | 29 Apr 2026
  • Brave Browser unable to block certain ads due to Rust language limitations

    2 projects | news.ycombinator.com | 27 Mar 2026
  • Yes, all longest regex matches in linear time is possible

    1 project | news.ycombinator.com | 18 Mar 2026
  • A note from our sponsor - AppSignal
    www.appsignal.com | 4 Sep 2026
    APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product. Learn more →

Index

What are some of the best open-source Text processing projects in Rust? This list will help you:

# Project Stars
1 ripgrep 67,702
2 sd 7,342
3 regex 4,014
4 nucleo 1,493
5 Fluent 1,355
6 pomsky 1,352
7 aho-corasick 1,286
8 whatlang-rs 1,087
9 hck 744
10 textwrap 524
11 suffix 281
12 tabwriter 273
13 headson 253
14 UNIC 248
15 rgx 233
16 cpc 161
17 sliceslice-rs 105
18 srch 78
19 nlpo3 48
20 ngrams 27
21 rule72 26
22 Matcher 19
23 untanglr 14

Sponsored
Monitoring that respects your time & budget
APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product.
www.appsignal.com

Did you know that Rust is
the 3rd most popular programming language
based on number of references?