Limits

What crust does not do, stated before you build on it. Each line is a boundary, not a bug list.

Platform

limitdetail
macOS 13 (Ventura) or laterthe shim links AppKit, WebKit and Foundation by name; the Homebrew formula declares depends_on macos: :ventura
x64 and arm64 onlyno riscv64 — Bun ships no such binary, so there is no target to build even if the platform layer would run
no Xcode requiredthe .c shim contains no #include; every Objective-C symbol is a hand-written extern, so it compiles with an empty environment
Linux needs two packagesGTK3 and WebKitGTK are dlopened at launch, and the C development package supplies the libc.so linker script the shim links against
Linux keychain needs a Secret Servicekeychain uses libsecret's synchronous API, which needs a session bus and a provider (libsecret-1-0 plus gnome-keyring on Debian/Ubuntu); without one, the command refuses with the install line
Windows needs WebView2it ships with Windows 11 and is an Evergreen update on 10; absent, the preflight says so before the first window
auto-update needs macOSupdater.install and updater.relaunch swap a .app and run open -n; on Windows and Linux they refuse with unsupported-platform

On Linux, keychain talks to libsecret with the synchronous v variants — secret_password_storev_sync, secret_password_lookupv_sync and secret_password_clearv_sync. Those calls spin their own GLib main loop, so crust needs none, but they do need a session D-Bus and a running Secret Service provider — gnome-keyring on GNOME, or an equivalent — plus an unlocked collection. A headless session has neither, and the command answers { ok: false, code: "handler-error" } naming libsecret-1-0 and the package to install. No GLib memory crosses the FFI boundary: the C half copies the secret into a static buffer and frees the GError itself, never handing a GLib pointer to Bun's allocator. There is no plaintext fallback: a secret crust writes to a file it protects itself is stronghold's job, not the keychain's, so Linux credentials that must work without a desktop session belong in file scope.

Distribution

No bundled Chromium

The WebView is the system WKWebView, so rendering is whatever that Mac's macOS ships. A platform WebKit bug is not something crust can patch, and a page cannot rely on a browser crust pinned. The honest size claim is "no bundled Chromium", never "as small as Tauri": the ~86 MiB floor is the Bun runtime inside the binary, and Tauri's floor is smaller because it ships no JavaScript engine at all.

Security

limitdetail
the bridge trusts the local userit binds loopback and every route that carries or accepts a credential requires the bearer token; the boundary is the OS account
the document needs its own tokenthe navigation URL carries ?token=, and a request without it answers 401, so fetching / yields no credential
so another local process can drive the apponly by reading the token from the app's own launch URL or its 0600 temp handshake — anything running as your user can
Origin is not the credentialan absent Origin is allowed on purpose, and a present foreign one is 403; the token is what decides
inline scripts need the response's noncescript-src names a per-response nonce, so a <script> injected after parse is refused by the engine

A page from another origin cannot reach the bridge, and a stray process cannot learn the token from the document, the assets or an invoke error. Neither is a sandbox against code already running as you, and a token that reaches the page is in the page's own URL and history.

script-src is 'self' plus one nonce per document, and 'unsafe-inline' is gone: the bootstrap carries nonce="…", and a tag the page's own markup authored is stamped with the same value before the parser sees it. That closes script injection into the document, not a payload already running in it. style-src keeps 'unsafe-inline' — inline styles are everywhere in real templates and a style is not a script door. A security.csp of your own replaces the policy whole. The bridge still mints and stamps its bootstrap nonce but never rewrites your policy to admit it, so config validation refuses the effective script directive — script-src-elem, then script-src, then default-src — when it does not admit inline scripts, and explains why: the inline bootstrap would be blocked, window.crust would never install and every invoke would fail silently. A policy with no script-src is refused too when its default-src does not admit inline.

Notifications

notification.notify() returns { delivered, reason }, and delivered is true only when the OS reported success. Four measured rules decide it:

ruledetail
a bundle in the system temp directory is refusedthe same app delivered from ~/dev and answered code 1 from /var/folders, twice each way
a denied identifier is never re-askedmacOS records the denial; the app answers code 1 forever without a prompt
a denial is reversibleSystem Settings → Notifications → Allow made an identifier that had answered code 1 four different ways deliver, with no rebuild
the signature is not a causead-hoc and Apple Development both deliver on a fresh identifier

Unbundled, there is no bundle identifier, so the modern notification centre is never entered and delivered is false. A first post on a new identifier raises a permission prompt; an unanswered prompt is recorded as a denial, so notify({ waitMs }) bounds how long it may stay up. requestPermission answers not-implemented — the notification itself requests authorization.

When in doubt

crust doctor covers the traps that produce a silent failure — a shim that will not compile, a bridge that will not bind, an asset directory a build would embed as nothing. The evidence page holds what was measured for each claim above.