min-sized-rust VS fancy-regex

Compare min-sized-rust vs fancy-regex and see what are their differences.

min-sized-rust

🦀 How to minimize Rust binary size 📦 https://github.com/johnthagen/min-sized-rust (by johnthagen)

fancy-regex

Rust library for regular expressions using "fancy" features like look-around and backreferences. Has a mode which aims to be compatible with Oniguruma syntax. (by fancy-regex)
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
min-sized-rust fancy-regex
106 6
9,764 606
0.2% 2.1%
4.8 9.4
8 months ago 5 days ago
Rust Rust
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

min-sized-rust

Posts with mentions or reviews of min-sized-rust. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2026-01-28.
  • Rust at Scale: An Added Layer of Security for WhatsApp
    7 projects | news.ycombinator.com | 28 Jan 2026
    Who knows what they did, but there are things which can be done: https://github.com/johnthagen/min-sized-rust
  • Rust cross-platform GPUI components
    12 projects | news.ycombinator.com | 27 Oct 2025
    > By default, Rust optimizes for execution speed, compilation speed, and ease of debugging rather than binary size, since for the vast majority of applications this is ideal. But for situations where a developer wants to optimize for binary size instead, Rust provides mechanisms to accomplish this.

    https://github.com/johnthagen/min-sized-rust?tab=readme-ov-f...

  • The IDEs we had 30 years ago ... and we lost
    15 projects | news.ycombinator.com | 18 Oct 2025
  • Garbage Collection for Rust: The Finalizer Frontier
    6 projects | news.ycombinator.com | 15 Oct 2025
    You can get Rust binaries pretty small: https://github.com/johnthagen/min-sized-rust

    But in practice it's more like there's an overhead for "hello world" but it's a fixed overhead. So it's really only a problem where you have lots of binaries, e.g. for coreutils. The solution there is a multi-call binary like Busybox that switches on argv[0].

    C programs often seem small because you don't see the size of their dependencies directly, but they obviously still take up disk space. In some cases they can be shared but actually the amount of disk space this saves is not very big except for things like libc (which Rust dynamically links) and maybe big libraries like Qt, GTK, X11.

  • Ask HN: What are some non-standard ways to reduce the size of executable files?
    1 project | news.ycombinator.com | 12 Jul 2025
  • The Linux Kernel Prepares for Rust 1.77 Upgrade
    9 projects | news.ycombinator.com | 18 Feb 2024
    This is a good guide on building small Rust binaries: https://github.com/johnthagen/min-sized-rust

    This talks about going to extreme lengths on making the smallest Rust binary possible, 400 bytes when it was written, https://darkcoding.net/software/a-very-small-rust-binary-ind...

    The thing is, you lose a lot of nice features when you do this, like panic unwinding, debug symbols, stdlib… for kernel and some embedded development it’s definitely important, but for most use cases, does it matter?

  • Rust wont save us, but its ideas will
    1 project | news.ycombinator.com | 9 Feb 2024
    Oh it was 137, haha. I will link you to this older comment of mine: https://news.ycombinator.com/item?id=29408906

    See also https://github.com/johnthagen/min-sized-rust

  • Making Rust binaries smaller by default
    8 projects | news.ycombinator.com | 23 Jan 2024
    Are you sure? If so then this is awesome news, but I'm a bit confused; the commit in that min-sized-rust repo adding `build-std` to the README was merged in August 2021: https://github.com/johnthagen/min-sized-rust/pull/30

    Are you saying that at that point the feature still hadn't "landed in Rust nightly" until recently? If so then what's the difference between a feature just being available in Rust nightly, vs having "landed"?

  • Was Rust Worth It?
    18 projects | news.ycombinator.com | 25 Oct 2023
    Rust binaries are by default nowhere close to 500MB. If they are not small enough for you, you can try https://github.com/johnthagen/min-sized-rust. By avoiding the formatting machinery and using `panic_immediate_abort` you can get about the size of C binaries.
  • Compiling Rust binaries for Windows 98 SE and more: a journey
    1 project | news.ycombinator.com | 9 Oct 2023
    A useful reference: https://github.com/johnthagen/min-sized-rust

fancy-regex

Posts with mentions or reviews of fancy-regex. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-19.

What are some alternatives?

When comparing min-sized-rust and fancy-regex you can also consider the following projects:

openQA - openQA web-frontend, scheduler and tools.

embedded-graphics - A no_std graphics library for embedded applications

smartstring - Compact inlined strings for Rust.

build2 - build2 build system

c2rust - Migrate C code to Rust

BSDCoreUtils - BSD coreutils is a port of many utilities from BSD to Linux and macOS.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

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