The projects we write in Rust
Projects from the portfolio and the case studies, each with a short note on what this language does in it.
-
Flaem: the platform core Panel API, store, billing, KSeF and node orchestration.See the project -
Plazer: the MLS core Group encryption per RFC 9420, also compiled to WebAssembly.See the project -
Gyred An app for AI agent sessions, with a Dioxus interface.See the project -
vulp Many repositories from one terminal, with a ratatui interface.See the project -
Flaem: licence server Signed Ed25519 tokens, activation and heartbeats.See the project -
studio A desktop app in Tauri 2.See the project
- Gyre A local control plane for AI agents: workspaces, rules and leases so parallel agents do not take the same work.
When we choose it, and when we do not
Where we use it
- 01
A core with money and permissions
The API, store, billing and KSeF (Poland's national e-invoicing system) in the Flaem core are in Rust. An error or a missing value is part of the type here, so the code has to handle it explicitly before it reaches a server.
- 02
One cryptography for every app
Plazer's core with MLS encryption is one Rust library: the browser gets it as WebAssembly, native apps through UniFFI. The protocol has one implementation, not a separate one in every language.
- 03
Queries checked at compile time
In the Flaem core, sqlx checks SQL queries against the database schema at build time. A typo in a column name or a wrong type shows up before deployment, not in production.
- 04
Code that reads data from strangers
A licence server with Ed25519 tokens and a messenger protocol accept data from anyone on the network. Safe Rust rules out buffer overflows and use-after-free, so that whole class of holes is gone from the code.
- 05
Terminal tools
vulp handles many repositories from one terminal, with a ratatui interface. The program is one binary: the user installs nothing else, and the tool starts at once.
- 06
Light desktop apps
Gyred in Dioxus and studio in Tauri use the system web view instead of bundling their own. A program open all day leaves memory to other apps, and the heavier work is done by Rust code.
When we choose something else
- 01
A company site or landing page
We build a company site in TypeScript and React with prerendering: the content is in the first HTML, and any web developer can later fix a text or a section. Rust adds nothing here and narrows the circle of people who can work on the site.
- 02
A prototype to test an idea
When the data model changes every day, the Rust compiler makes you fix every dependent place on every change. We write the prototype in TypeScript and move to Rust what proves itself.
- 03
A panel with dozens of screens
The Flaem panel is in React and TypeScript on top of a Rust API. The interface changes most often, and the React ecosystem has ready libraries for forms, tables and charts.
- 04
An agent on thousands of machines
The Flaem VPS agent and container daemon are in Go. An agent mostly needs networking, timeouts and retries, and simple Go code builds faster and is easier to take over.
- 05
A Discord bot or an ops script
The VulCode bot and the diagnostic scripts are in Python. A fix is an edit to a file on the server, with no build and no new release.
- 06
An add-on to someone else's system
The host system loads add-ons in its own language: we write a WHMCS module in PHP, a Minecraft plugin in Java and an SCP: Secret Laboratory plugin in C#. Rust has no way in there.
Rust or something else
A technology has to fit the place the code will run and the team that will take it over. The final choice is made in the quote, together with you.
| Need | Rust | TypeScript on Node |
|---|---|---|
| A long-running service handling money | first choice | good, with more test discipline |
| Cryptography in the browser | WebAssembly from the same code | JS libraries, separate code for native |
| A quick company site | overkill | first choice |
| A terminal tool | one binary, no runtime | needs Node on the user's machine |
| Heavy computation in a service | every CPU core, and data races do not compile | they block the event loop, a separate worker is needed |
| People to maintain the code | fewer developers, documentation and tests needed | the easiest to staff |
| The first version | a slower start, fewer fixes after launch | a faster start, more testing along the way |
The libraries these projects stand on
From the dependency files of our repositories. With each, one sentence on what we use it for.
-
tokio, axum, tonicthe HTTP and gRPC server in the Flaem core -
sqlxPostgreSQL queries checked at compile time -
mls-rsthe MLS protocol in the Plazer core -
ed25519-dalek, aes-gcm, argon2signatures, encryption and passwords -
ratatui, clap, git2the terminal interface and git operations in vulp -
Tauri, Dioxusdesktop apps
Our changes to other people's Rust projects
19 changes in 12 projects. The maintainers of these projects reviewed our code and merged it into theirs.
Frequently asked questions
Answers about Rust and our projects.
- How much does a Rust project cost?
- An API or integration in Rust starts at PLN 999 (about EUR 220), a desktop app in Rust and Tauri at PLN 4,499 (about EUR 1,010) and a platform with a Rust core at PLN 8,999 (about EUR 2,020). A desktop app usually takes 2-3 months and a platform 2-4 months.
- Does Rust not make a project longer?
- The first weeks can be slower than in TypeScript. We gain because a whole class of bugs does not compile, so less time goes into fixes after launch. That is why we pick it for cores, not for every site.
- Will I find other developers to maintain Rust code?
- There are fewer of them than TypeScript developers. We leave documentation and tests, and the contract transfers the rights to the code, so another team can take the project over.
- Tauri or Electron?
- Tauri gives a smaller program because it uses the system web view instead of bundling its own. We pick Electron when the app must look identical on every system, even at the cost of size.
- When Rust and when Go?
- We pick Rust where a bug costs the most: money, permissions and cryptography, because a missing value is handled explicitly in the type. We pick Go for agents and network services: simple code builds fast and is easier to take over.