Parity with Tauri
Tauri's feature list is cross-platform. crust runs on macOS 13+, Linux and Windows, all three with the system WebView, so this page compares capability by capability and says plainly what is partial or absent.
Measured 2026-11-15 against the tree at v0.1.21, and the ten plugin rows below it on 2026-11-16. A row marked same means crust ships the
capability; partial names the piece that is absent; via Bun means the backend half already has it
and no page-facing API is needed; module only would mean the plugin exists and is tested but the
runtime does not register it.
A status is what the code does now. All six of the newer plugins are registered by the macOS runtime and exported from the split barrels, so no row carries module only; the two partial rows name a limitation that registration cannot remove.
The Proof column is the evidence for each same row. It names either a plugin.command that the
live sweep in scripts/butter-sweep-commands.ts drives, a skip with the reason a runner cannot act,
or no sweep command with what proves the claim instead. A same row with no proof is unproven; the
sweep test fails on a hollow row rather than trusting the table.
Out of scope by design
- iOS and Android targets.
- Tauri's mobile-only features: barcode scanner, biometric, geolocation, haptics, NFC.
- A Rust plugin ABI. crust plugins are TypeScript objects registered on the
App.
Windows and Linux have a Platform each, and both are proven: Linux on real GTK, Windows by a windows-latest runner executing CoInitializeEx, RegisterClassExW and a real WebView2 controller. The status of each is on the platforms page.
Core
| Tauri | crust | Status | Proof |
|---|---|---|---|
| Windows | window, 27 commands: create, close, focus, title, list, size, position, always-on-top, fullscreen, minimize, maximize, decorations, opacity, cursor, capture | same | window.list |
| Webviews | one WKWebView per window | same | no sweep command — structural; no command reports webview count |
| Menus | menu.setAppMenu/showContext/reset, NSMenu in 98+99 | same | menu.read; menu.showContext skipped — modal |
| Tray | tray.setTitle/setMenu/setTooltip/show/hide/destroy — menu rows, and a hover tooltip applied through -setToolTip: on the item or its button | same | tray.setTooltip |
| Events | crust.listen over SSE, PluginContext.emit | same | no sweep command — transport, not a plugin command |
| Path | node:path in the backend | via Bun | — |
| DPI, image | CSS pixels and <img> in the page | via Bun | — |
| Localhost server | crust dev, and the bridge in production | same | no sweep command — dev/bridge infrastructure |
Plugins
| Tauri plugin | crust | Status | Proof |
|---|---|---|---|
| Dialog | dialog.openPanel/savePanel/cancel | same | skip dialog.openPanel — needs a person; savePanel likewise |
| File system | fs.readTextFile/writeTextFile/readBinary/writeBinary/list/stat/remove/rename/mkdir + scope | same | fs.readBinary |
| Notifications | notification.notify (and notification.requestPermission) | same | skip notification.notify — needs a person; requestPermission refuses by design |
| Clipboard | clipboard.read/write/readImage/writeImage — text and PNG bytes | same | clipboard.writeImage |
| Opener | opener.openPath/openUrl/revealItem | same | skip opener.revealItem — opens Finder and steals focus |
| OS information | os.info (family, arch, version, uptime, exe extension), os.locale, os.paths | same | os.info |
| Global shortcut | shortcut.register/unregister/unregisterAll/isRegistered/list | same | shortcut.register and the four other commands, driven on a real hot key then released |
| Shell | shell.spawn/output/write/close/kill/list, stdin pipe, shell-output events bounded at 500 lines, allowlisted by config | same | shell.spawn |
| Pty | pty.open/write/resize/close/list — a real terminal the page drives, pty-data (base64, 8 KiB frames) and pty-exit events, the program fixed by pty.shell | works on all three: macOS and Linux over Bun.Terminal, Windows over a ConPTY pseudo-console | src/plugins/pty.test.ts runs a real shell through open/write/resize/close; scripts/windows/pty.ts does the same through ConPTY in gate (windows); src/runtime-feature-plugins.test.ts proves no section means no command |
| Single instance | single-instance.acquire/release/activate | same — the runtime locks app.id at launch | skip single-instance.release — the runner holds its own lock |
| Deep linking | deep-link.scheme/url; build.urlScheme writes CFBundleURLTypes, the launch URL is claimed in app.run() | same | deep-link.url |
| Autostart | autostart.enable/disable/isEnabled; a LaunchAgent plist on macOS, an XDG .desktop entry on Linux, and unsupported-platform on win32 naming HKCU\Software\Microsoft\Windows\CurrentVersion\Run rather than claim a login item it never wrote | same | autostart.isEnabled and autostart.disable on a sweep-only id; skip autostart.enable — would add a real login item; src/plugins/autostart-platform.test.ts proves the Linux entry and the Windows refusal |
| Updater | updater.check/download/install/relaunch, sha256 + Ed25519 verify, atomic bundle swap, open -n relaunch, registered from updater config; on win32/linux, install and relaunch refuse unsupported-platform naming the platform rather than advertise an update that cannot finish | same | skip updater.install — swaps the running bundle; relaunch kills the runner; src/plugins/updater-platform.test.ts proves the off-macOS refusal |
| Window state | window-state.save/restore/forget plus saveAll/restoreAll/forgetAll | same | window-state.restore |
| Positioner | nine presets: center, four corners, four edge midpoints | same | positioner.center |
| Process | process in the backend | via Bun | — |
| HTTP client | fetch in the backend | via Bun | — |
| WebSocket | WebSocket in the backend | via Bun | — |
| SQL | database.open/close/exec/query/get — bun:sqlite under a name that resolves inside the app's data directory, bound parameters only, readonly is a real read-only open | same | database.query |
| Store | store.get/set/delete/keys/clear/save, each with optional { name } → one store.<name>.json per store, atomic 0600 JSON, corrupt file quarantined | same | store.save |
| Upload | FormData with fetch | via Bun | — |
| Command line (CLI) | process.argv in the backend | via Bun | — |
| Persisted scope | fs.scopeList/scopeRevoke from a page, fs.scopeAllow only with grants: "page", fs.scope config, grants persisted in scope.json | same — a page cannot widen its own scope by default, and scopeList reports scoped: false when no boundary exists | fs.scopeList |
| Stronghold | stronghold.open/set/get/delete/keys/close, PBKDF2-SHA256 600k + AES-256-GCM, file holds no plaintext | same | stronghold.get |
| Secure storage | keychain.set/get/delete/list — the OS credential store: macOS SecItemAdd/SecItemCopyMatching/SecItemDelete, Windows CredWriteW/CredReadW/CredDeleteW, Linux set/get/delete through libsecret's synchronous API (libsecret-1.so.0 plus a Secret Service provider). No shell and no secret in a process list; a missing credential answers { found: false }. list enumerates via SecItemCopyMatching on macOS and CredEnumerateW on Windows; Linux list is not-implemented, naming secret_service_search_sync in libsecret | same — set/get/delete on all three platforms; list works on macOS and Windows, refuses by name on Linux where no enumerator exists | no sweep command — src/platform/linux/keychain.test.ts maps the Linux shapes and absence; src/plugins/keychain-list.test.ts proves the named refusal |
| Logging | logging.setLevel/level/write/tail, trace level, JSONL run record in app.jsonl rotating through app.N.jsonl, errors.jsonl for framework warn and above | same | logging.tail |
| Dock | dock.badge/badgeLabel/bounce/progress — badge text, attention bounce, determinate bar | same | dock.badge |
| Power | power.state/idleSeconds/sleepPrevent/sleepAllow plus all six push events (onSleep/onWake/onScreenSleep/onScreenWake/onLock/onUnlock) — battery, AC, low-power flag, idle time, a sleep assertion released on exit | same | power.idleSeconds |
| Accessibility | accessibility.announce/title/focus plus trusted/prompt/elementCount — speak through the platform, name a window, move assistive focus, and the AX trust read | same — the page-facing trio is NSAccessibilityPostNotificationWithUserInfo and setAccessibilityLabel:; Linux and Windows refuse announce by name, never silently | accessibility.announce; prompt skipped — needs a person |
| Theme | theme.current/set/reset, theme:changed — light, dark or system, read back from the app | same | theme.current |
| Navigation | navigation.start/stop/state/reload/goBack/goForward/loadUrl, four navigation:* delegate events | same — registered on macOS; the events need start; loadUrl builds an NSURLRequest and calls -loadRequest: | navigation.loadUrl |
| Find in page | findinpage.search/next/previous over WKWebView find | partial — matches is 0 or 1, and clear refuses for want of a public selector | — |
| Downloads | downloads.list/start/cancel/directory/setDirectory, four download:* events | same — five commands over WKDownloadDelegate; a destination is refused outside the app's data root | downloads.list; start skipped — real network download |
| Network | network.status/onChange for connectivity (SCNetworkReachability, whole-interface kinds, network:change push) and network.rules/setRules/log/clearLog over a WKURLSchemeHandler, 100-entry log | same — two different questions in one plugin: interception is only crust-net, connectivity is the OS path, and neither pretends to be the other | network.status |
| Crash reporter | crash-reporter.last/list/report/configure/clear/install/uninstall — a page reports a caught error into the same store (type: "webview") and the guard writes its own ("signal") | same — the runtime starts the guard; a compiled binary re-runs itself in guard mode, and install arms the handlers | crash-reporter.report |
| Language | i18n.locale/setLocale/messages/translate — catalogue, {name} interpolation, _one/_other plurals | same — the catalogue is the app's to supply, and setLocale is in-memory because macOS owns the language list | i18n.translate |
Framework guarantees
Every row above answers "can crust call this surface". These answer a different question — who is allowed to — which a matrix of surfaces cannot show, and which is why the capability model and the token boundary were both absent from this page for two revisions while the sweep stayed green.
| Tauri | crust | Status | Proof |
|---|---|---|---|
| Security / capabilities | security.capabilities + security.grants, checked in the bridge before a handler runs | same | no sweep command — config + bridge check; src/bridge/capabilities.test.ts |
| CSP | DEFAULT_CSP when security.csp is absent: no inline script without that response's nonce, no evaluated string, no framing; a custom string replaces the policy, validated to admit inline scripts because it cannot name the nonce | same | no sweep command — DEFAULT_CSP + nonce; src/bridge/server/csp-nonce.test.ts |
| Isolation pattern | none — there is no second document between the page and the bridge | absent | — |
| IPC transport | loopback HTTP + bearer token on the navigation URL; Tauri uses a custom scheme with no socket at all | accepted difference | — |
| Command authorisation | deny by default once security.capabilities is set; absent config allows every command, as it always has | same | no sweep command — bridge check; src/bridge/capabilities.test.ts |
| Typed IPC | typedHost/typedClient over one InvokeMap; the names and shapes a host registers are the ones a page may call, checked at compile time | same | no sweep command — compile-time InvokeMap, not a runtime command |
| Sidecar binaries | build.sidecars copies each binary beside the app at 0755; sidecar.spawn runs one, write/kill drive it through a stdin pipe, list names the live children, and sidecar-stdout/sidecar-exit stream back; an undeclared name or a path outside the bundle is refused by name | same | sidecar.spawn |
| Window material | windows[].material: vibrancy on macOS, mica/acrylic/tabbed on Windows 11 22H2+, none everywhere; a platform without the backdrop refuses the name rather than opening a grey window | same | no sweep command — windows[].material config, not a command |
| Lifecycle events | activate, before-quit, will-quit, reopen as app.on events and as app:* page events, plus app.info() — a platform without the concept answers not-implemented naming it | same | no sweep command — app.on events, not plugin commands |
| Screen listing | screen.list/screen.primary — id, primary flag, scale, bounds and work area per display; darwin NSScreen, Windows EnumDisplayMonitors, Linux GDK monitors, in page pixels like positioner | same | screen.primary |
| Power events | all six power notifications are push events — onSleep/onWake/onScreenSleep/onScreenWake/onLock/onUnlock, from NSWorkspace and the distributed centre; a platform without one answers not-implemented naming it rather than a listener that never fires | same | no sweep command — push events, not invokable commands |
| Devtools in development | crust dev sets CRUST_DEV_INSPECT; the window is inspectable only behind that flag, so a built app cannot open one | same | no sweep command — CRUST_DEV_INSPECT flag, not a command |
| Updater signing | Ed25519 over the manifest, sha256 over every artefact, a swapped-out key refused | same | skip updater.install — swaps the bundle; src/plugins/updater-download.test.ts proves the signature |
| App command grants | app.command(name, …) is authorised as app:<name>, not the shared wire key app:invoke; an exact or wildcard grant scopes one command, while a flat app:invoke grant stays a broad alias so scaffolds that opted in earlier keep working | same | no sweep command — src/bridge/server/app-command-grants.test.ts (save 200 / delete 403 naming app:notes.delete; flat alias still reaches both) |
| Typed failure status | a refused window/tray command answers a non-200 transport status while the page still resolves the typed failure value instead of a rejection: 404 unknown window, 400 invalid size, 501 unknown adapter, 500 handler error | same | no sweep command — src/bridge/server/failure-status.test.ts |
| Release assets | six assets per tag, including crust-<version>-windows-arm64.exe built on a native windows-11-arm runner; the Windows arm64 target is a real PE with the 4d5a magic | same | no sweep command — scripts/release/targets.test.ts + scripts/release/release-workflow.test.ts |
Three of these are worth stating plainly rather than in a cell:
accepted differenceon the transport is a decision, not a gap held open. Tauri and Butter both register a custom scheme on the WebView, so there is no port to ask and nothing to fetch. crust serves the page over loopback, which is what lets one code path covercrust devand a built app. The token now rides the navigation URL instead of the document body, so a local process can no longer read it, but the socket still exists and the boundary is the local account. The owner reviewed that trade and kept it on 2026-11-17; a page-serving scheme would reverse a recorded decision, because a scheme leaked into two layers once already and a wrong one collides with an app's own deep links.absenton isolation is a real gap, not a naming difference. Tauri's isolation pattern puts a second document between the page and the IPC layer with a key the page cannot read, so script injected into the app cannot issue commands. crust has no equivalent.- Capabilities are authorisation, not a sandbox. A window granted
fs:*can write anywhere its scope allows. What the model stops is a page calling what nobody granted it — that is the whole claim, and the guides page says so in the same words.
What this means
- same — 49 rows
- via Bun — 7 rows
- partial — 1 row
- absent — 1 row
- accepted difference — 1 row, the IPC transport, decided rather than outstanding
- module only — 0 rows
- total — 59 rows, in three tables: 8 core, 35 plugin and 16 framework-guarantee rows
The one partial row names its own limitation: find's matches is 0 or 1 because WKFindResult carries only -matchFound and clear needs a private selector. Secure storage stopped being partial when Linux gained set/get/delete through libsecret's synchronous API; list works on macOS and Windows, and refuses by name on Linux where no enumerator exists. Network stopped being partial when status/onChange joined the interceptor, so the row now answers connectivity as well as interception. The transport is the one accepted difference — decided by the owner rather than outstanding. Nothing is missing, and the row count is checked by bun run check:parity, which pins Tauri's official feature names and six framework guarantees. That second list exists because the first one could not see them: Tauri's security model is not a plugin, so a matrix of callable surfaces went green while the capability model was absent for two revisions.
The twenty-one rows Tauri has no official plugin for are reported by that check as unlisted rather than missing: they are crust surfaces, measured here, and they do not change what Tauri's own list covers.
Across the 49 same rows, 28 name a command the sweep drives, 6 name a skip a runner cannot act, 7 name a test file instead of a sweep command, and 8 are config, transport, events or structure that no page command could prove. The seven test-file rows are secure storage, security/capabilities, CSP, command authorisation, app command grants, typed failure status and release assets; the eight structural rows are Webviews, events, the localhost server, typed IPC, window material, lifecycle events, power events and devtools. The old shortcut.* and autostart.* gap is closed: five shortcut.* cases and two autostart.* cases are driven in scripts/butter-sweep-commands.ts, with autostart.enable skipped because it would add a real login item. No same row is left resting on e2e:parity alone.
The Bun rows are not a shortfall: a page reaches them through the backend it already has, and that is
how Tauri's own macOS column behaves for HTTP, WebSocket and process information too. SQL left that
group when database gave a page its own commands.
Runtime proof
Compiling is not evidence that a surface works. bun run e2e:parity builds a real app
(examples/parity-probe), launches it, and asserts what it printed — twenty proofs, twenty-seven
assertions:
PASS menu menu titles: ["Parity probe","Probe item"]
PASS clipboard clipboard png 163 bytes, first 8 89 50 4e 47 0d 0a 1a 0a
PASS chrome chrome opacity 0.75, decorations false
PASS shortcut shortcut emitted: command+shift+k
PASS shortcut-press shortcut-press delivered: {"accelerator":"command+shift+k"}
PASS updater updater swapped old->.old new->app
PASS notification notification refused: … authorization … not answered yet
PASS fs fs ok 44 bytes at …/land.jyz.parity-probe/…/note.txt
PASS tray tray items: 2 visible: true
PASS deep-link deep-link probe://open/42?tab=notes scheme=probe path=/42 host=open
PASS shell shell echo: hi
PASS shell-refused shell refused: program-not-allowed
PASS store store k={"n":1} persisted=true
PASS stronghold stronghold encrypted=true bad-password=true
PASS dialog dialog refused: not-implemented (NSOpenPanel) …
PASS opener opener revealed …/reveal-me.txt — Finder selected it
PASS os os darwin arm64 27.0.1 family=macOS
PASS autostart autostart plist=written enabled=true removed=true
PASS logging logging rotated=true lines=1100
PASS window-state window-state saved=["parity-state"] restored=true
PASS positioner positioner center=320,163 corners=ok
PASS restored clipboard restored: true
PASS summary parity: PASS 20/20
e2e:parity: PASS 27/27 assertions
- Menu —
menu.setAppMenubuilds a bar with a submenu andCmd+Shift+K, thenmenu.read()returns whatNSApp.mainMenuactually holds. The probe resets the bar in afinally. - Clipboard — a 1×1 PNG is written to the real
NSPasteboard, read back throughreadObjectsForClasses:[NSImage]and re-encoded: 163 bytes with the correct magic. The pasteboard text is saved and restored, and the probe printsclipboard restored: true. - Window chrome —
setOpacity(0.75)andsetDecorations(false)are each read back through the command layer, on a real 240×160 window that is closed before exit. - Shortcut —
RegisterEventHotKeyaccepts the pair, and the adapter'sdispatchseam fires the same event a press would carry, which reaches the plugin ascommand+shift+k.
A resize no command can report
A window answers the size it was given even when the page inside it never changed, which is what "apps can't be resized" was: the window resized, the webview stayed where it opened. So the assertion is the page's own innerWidth/innerHeight, not the answer to setSize. bun run e2e:window opens a real window at 900x640, grows it to 1200x760 and shrinks it to 640x460, asserting the viewport the page reports after each — 64 assertions, green on macOS on 2026-11-18, and both resize assertions failed with page saw 900x640 against the pre-fix runtime. Windows has a tag-gated runtime proof of the same thing and Linux is read from code; the platforms page says which of the three is measured.
What even this does not prove
A physical key press reaching the hot key is the window server's table and needs a person and a key;
dispatch proves the process-side chain and that the grab was accepted. The probe prints menu titles
only, so AppKit's own accelerator wiring inside the bar is unread. A pasteboard holding both text and
an image comes back as text, because there is no full pasteboard snapshot API.