What will change
This is where things stand now.
| Item | Status |
|---|---|
| Configuration file | You write a Hermet site's configuration in cloudflare.rs. All the samples use cloudflare.rs too, and the deployed samples have been updated to the new version. A test Worker also confirmed that the result is the same configuration as a deploy with Wrangler. |
| Where files go | A file's folder (src/pages/ or src/components/) decides its role. For files with the old names (.page.html, .server.html, .client.html, src/islands/), the build stops and shows where HTML files belong. |
| Static generation | Your Rust render program runs at build time. Node.js and Wrangler are not needed. |
| The Worker's build tool | For now, Hermet depends on changes to workers-rs that are not merged yet (pull requests #1078 and #1079). So it uses the worker-build of a specific commit. Hermet installs it itself the first time you run hermet build or a similar command, so you do not need to install it by hand. |
| API | Hermet is not released on crates.io yet (the crates with its names there are placeholders without code). Install Hermet from toshi-kuji/hermet on GitHub, with the tag of a released version. Names of functions and types, diagnostics and other details may change in future versions. |
| Security review | Hermet has had no independent security audit. What it enforces is described in the README and checked by Hermet's own tests. Review it yourself before you use it for a production site. |
| Deploy settings not supported yet | hermet deploy does not yet support routes for a custom domain (routes). It also cannot upload a new version without changing the version that is live. |
| Experimental features | experimental-island-bundle is a feature that bundles the JavaScript of Client Islands. How you use it may change in the future. |