runtime-native

The same harness as one tokio binary: axum on a TcpListener, Redis ports, in-process cron.

With cargo

cargo add cratefield-runtime-native

What it is

runtime-native.

The native runtime for the Cratefield harness: the same Harness served by axum on tokio as a single binary, for the self-hosted move (ADR 0001, architecture section 10, issue #19). Cloudflare Workers today, one binary on your own Postgres and Redis tomorrow — same modules, same adapters, no module rewrites.

From the crate’s own README.

Read more

History

Changelog.

From the crate’s CHANGELOG.md in the harness, as of 0c5560b. 6 versions recorded, newest first. Every published version is on crates.io.

  1. 0.4.4

    crates.ioReleaseDiff

    Other

    • UrlSafety port in core, with a Google Safe Browsing / Web Risk adapter (#857) (#880)
  2. 0.4.3

    crates.ioReleaseDiff

    Other

    • streaming completions (text, reasoning, tool-call and usage deltas) with idle/total timeouts and cancel-on-drop (#869)
4 earlier versions 0.3.0 to 0.4.2
  1. 0.4.2

    crates.ioReleaseDiff

    Fixed

    • close eight concurrency races across the pool cache, auth caches, realtime rooms, waitlist confirms and tracker adapters (#823)
  2. 0.4.1

    crates.ioReleaseDiff

    Other

    • Actor port: per-key serialized state with transactional storage and alarms, on Durable Objects (#583) (#743)
    • Blob port: streamed reads and writes, multipart uploads and listing for objects above MAX_BLOB_BYTES (#586) (#741)
  3. 0.4.0

    crates.ioReleaseDiff

    Changed

    • Breaking: requires cratefield-core 0.8 (was 0.7), and so a minor rather than a patch bump: a venture still on core 0.7 does not pick this release up through a caret requirement and end up with two copies of core (#712).

    Other

    • updated the following local packages: cratefield-core
  4. 0.3.0

    crates.ioRelease

    Added

    • core breaking name problem type URIs under the venture's own base (#557) (#581)

    Other

    • Blob port: presigned GET and PUT URLs for R2 through the S3 API (SigV4) (#622) (#663)
    • CustomHostnames port in core, with a Cloudflare for SaaS adapter (#590) (#630)
    • VectorIndex and Embedder ports, with Cloudflare Vectorize and exact in-process adapters (#561) (#568)

One of 76 crates in the harness, all of them MIT and all of them in one repository.