Learn/Digital FreedomOpen Source

Remade With Rust: Why the Rebuild Matters to a Household That Owns Its Data

Your photos, voice notes, logins and files all pass through old C libraries. Here is why MATA rebuilds those libraries in memory-safe Rust before running them on your devices.

Signed by M·
Aerial view of a fortified stone castle with crenellated walls and towers on a green hilltop at sunset, forested hillsides and distant mountains behind
Why does Remade with Rust matter to an ordinary household?

Every photo, voice note, scanned letter and login in a home passes through a handful of shared libraries, most written in C or C++. Remade with Rust rebuilds those libraries in memory-safe Rust under permissive licences, so the devices on your own MATA mesh run code that whole classes of exploit cannot compile into.

Think about what a single family produces in a year. Thousands of phone photos. Voice memos. Scanned school letters and tax forms. Video from a doorbell. Dozens of logins. Every one of those files is opened, decoded, resized or indexed by a small set of shared libraries: an image decoder, a video codec, a speech model, an allocator, a database. Most of them were written in C or C++ decades ago, and they are the same libraries a hostile file is designed to attack.

Remade With Rust is MATA's program to rebuild those libraries in memory-safe Rust and publish them openly at github.com/remade-with-rust. Each project is a ground-up reimplementation of a widely used original, not a fork and not a wrapper. The full list, with status and licences, is on remadewithrust.com.

For a MATA user the point is practical. The Disco party runs your apps on your own phones, laptops and home boxes instead of a vendor's data centre. That only makes you safer if the code on those devices is safer than the code it replaced. The language argument is in why Rust becomes the standard; this page is about what the rebuild means at home.

The Bugs Hiding in Everyday Files

Memory-safety bugs are not exotic. Microsoft has publicly reported that around 70 percent of the CVEs it fixes each year come from them, and the Chromium project reports a similar share. Buffer overflows, use-after-free and out-of-bounds reads keep appearing in the same libraries, decade after decade, because C lets them.

Rust closes those doors at compile time. The borrow checker rules out use-after-free, slices are bounds-checked, and the type system rejects data races. A rebuilt image decoder is not more carefully written C; it is a program in which those bug classes do not compile. The NIST Secure Software Development Framework points organisations toward memory-safe components for exactly this reason.

Shared libraries multiply the risk. One flaw in a PNG decoder reaches every thumbnail on every device in the house. That is why Era 1, the foundation of trust, starts at this layer rather than at the app.

What Has Been Rebuilt So Far

The work falls into three layers: the media your family creates, the foundations every app sits on, and the trust layer that holds identity and data. Cards for each repository live on the Remade crates page.

Photos, Video and Voice

The biggest group is media. remade_ffmpeg_rs rebuilds the FFmpeg pipeline (decode, encode, transcode, mux, probe) with a compatible command line. Around it sit rusty_h264, rusty-opus, rusty-av1-toolkit, rusty_av2d and rusty_av2f for AV2 and its still-image container, the PNG and JPEG crates, and rusty_dds for game textures.

On top of those, FFAI bundles three engines with no Python runtime and no ONNX shim on the hot path. Mercury is a pure-Rust Whisper for speech, so voice notes can be transcribed in the house. Carmenta reads text in scanned pages in place of Tesseract. Diana detects objects in camera frames, matching PyTorch YOLO26 accuracy at roughly 3.7 times less CPU.

The Pieces Every App Stands On

Beneath the media sits the plumbing. rusty_alloc is a memory allocator modelled on mimalloc's design that aborts on a double free instead of corrupting the heap quietly, and rusty_alloc_default installs it across a whole workspace from one dependency. For interfaces, rusty_tokens supplies design tokens, rusty_symbols pins Unicode glyphs, and rusty_a11y builds accessible ARIA markup for Dioxus, Leptos or Yew.

These are unglamorous, and they decide whether an app is memory-safe end to end. One C dependency deep in the graph is enough to break the promise for everything above it.

Identity, Dependencies and Your Data

The trust layer is where the rebuild becomes a system. Sovereign ID gives a "Sign in with Sovereign ID" button that verifies locally with no OAuth provider in the middle, and mID is its Rust counterpart, replacing services like Auth0 or Firebase Auth without a per-user bill. Deputy reads Cargo.lock, fetches every crate, checks each hash, seals them in an encrypted vault, scans RustSec advisories and keeps builds working when crates.io is down, working alongside Dependabot and Snyk. SpaceDB is a local-first, CRDT-native database that keeps encrypted app data on the machines of the people who own it, with per-field consistency and local vector search. The Freedom Guide shows how these fit a household.

Why This Adds Up to Freedom at Home

A free internet is a property of the stack, not a slogan. It means you can run your own services, hold your own identity and keep your own backups without renting access from someone who can revoke it.

Licences You Can Build On

Every rebuilt crate is MIT, BSD-2-Clause, BSD-3-Clause or Apache-2.0. No copyleft obligations and no vendor that can withdraw the licence later. The Electronic Frontier Foundation has long argued that open infrastructure is a precondition for a free internet; these crates add memory safety to that openness, so "you can inspect it" also means "the compiler already ruled out a class of exploit."

Devices You Already Own

Centralised cloud gathers storage, compute and identity in one company's buildings and charges you to reach your own data. A distributed cloud reverses that, and it is only workable if the code is light and safe enough to run on ordinary hardware. That is the case made in why a distributed cloud needs memory-safe Rust. Rebuilt codecs and a lean allocator let a home box do work that used to need a server farm.

One Library at a Time

Nothing here is all or nothing. When your video runs through the rebuilt pipeline on your own hardware, no streaming service holds your files. When OCR runs locally, scanned letters stay in the drawer. When your identity is a keypair, no provider sees every login. Adopt one piece, then the next. The Eras of Digital Freedom lay out the order, and what digital freedom means explains why Remade With Rust exists at all.

FAQ

Short answers already in this article.

Which licences do the rebuilt crates use?

MIT, BSD-2-Clause, BSD-3-Clause or Apache-2.0. Each project is a ground-up rebuild rather than a fork or wrapper, so there are no copyleft obligations, no licence an upstream vendor can withdraw, and no runtime fee that grows with use.

What share of fixed CVEs are memory-safety bugs, according to Microsoft?

Microsoft has publicly reported that around 70 percent of the CVEs it fixes each year are memory-safety bugs, and Google reports similar figures for Chromium. Rust removes use-after-free, buffer overflows and data races at compile time.

What does the rebuilt AI media layer replace?

FFAI bundles Mercury for speech recognition in place of Whisper.cpp, Carmenta for OCR in place of Tesseract, and Diana for object detection, which matches PyTorch YOLO26 accuracy at roughly 3.7 times less CPU, with no Python runtime in the hot path.

How does Deputy protect a build from a poisoned crate?

Deputy reads Cargo.lock, fetches every crate in the transitive closure, checks each SHA-256 against the lockfile and seals them in an encrypted local vault. It scans RustSec advisories, flags a re-published version and keeps builds working if crates.io is down.

What replaces a cloud sign-in provider in this stack?

Sovereign ID verifies a sign-in entirely on the device with no OAuth provider in between, and mID is its Rust counterpart. SpaceDB keeps the app data encrypted on machines near the people who own it, so there is no per-user cloud bill.