Building and running an app
Toolchains, native dependencies, pinned framework sources and build commands.
Each app lives in its own repository and builds as its own Cargo workspace (see App architecture and layout). Start with the app’s README for its package requirements and build command.
Toolchain
Most apps pin Rust 1.99.1 in rust-toolchain.toml. Check the chosen app revision before building. Browser also uses a separately built and pinned WPE WebKit runtime.
Native dependencies
The apps target Linux. Native dependencies vary with the app and the enabled features. Common dependencies include a C toolchain, pkg-config and the graphics and windowing libraries enzUI uses. Some apps need more:
| App | Additional build or runtime dependencies |
|---|---|
| libcurl and OpenSSL development packages, plus Secret Service at runtime | |
| Music | GStreamer 1.24 or newer with audio plugins, GLib/GIO, ALSA, OpenSSL |
| Video | GStreamer (base, video, audio, app), GLib/GIO and Vulkan/EGL |
| Reader | Clang/LLD, OpenSSL, Poppler-GLib 25.2 or newer, Cairo, GLib |
| Files | libarchive at runtime, GStreamer, GTK/GIO |
| Remote | SPICE client GLib, SQLite build prerequisites, OpenSSL, Opus, SDL2 and libsodium |
| Messages | FFmpeg with PulseAudio, V4L2 and H.264 support and pactl, for device checks and calls |
| Task Manager | the standard ps, systemctl and journalctl utilities |
Build against the pinned framework
Release app manifests pin enzUI and iced to public Git revisions. Cargo fetches those sources without a separate framework checkout. Run the build command in the app’s README. For example, Text builds with:
cargo build --lockedBrowser uses ./tools/build and ./tools/browser to select its pinned WebKit runtime. Use CARGO_TARGET_DIR if you need an explicit build output directory.
Run checks
Start with the app’s README. Pure Rust checks usually use cargo test --locked. Tests that open windows or start native engines can require extra dependencies and a private desktop session. See Testing apps.
Run the app
The debug binary lands in target/debug/ (or under CARGO_TARGET_DIR). You can run it directly:
./target/debug/text-app /path/to/document.txtFollow the app’s README for launch options and any environment variables the runtime requires.
Most apps are single-instance: a second launch on the same session bus forwards its files or request to the existing window. Without a session bus, apps either start a standalone window or, where shared storage would otherwise have two writers, refuse to start.
| App | Executable |
|---|---|
mail-app | |
| Store | store-app |
| Messages | enz-messages |
| Calendar | calendar-app |
| Music | music-app |
| Photos | enz-photos |
| Video | video-app |
| Reader | reader-app |
| Text | text-app |
| Terminal | terminal-emulator |
| Files | files-app |
| Browser | enzim-browser (started with ./tools/browser) |
| Task Manager | task-manager-app |
| Calculator | enz-calculator |
| Remote | remote-app |
Install the app
Use the app’s README to register its desktop entry and icon. Distribution packages and Flatpaks supply these files during installation. See Packaging apps.