User Story
As a developer deploying to Fermyon Spin, I want to use the EdgeZero KV store API, so that I can store and retrieve key-value data from my Spin application using the same interface as Fastly, Cloudflare, and Axum adapters.
Background
The KvStore trait and KvHandle are defined in edgezero-core. Fastly, Cloudflare, and Axum adapters all implement this trait. The Spin adapter currently has no store support — the manifest validator explicitly rejects [stores.kv] for Spin. Spin provides a native key-value component via the spin-sdk crate.
Acceptance Criteria
Affected Area
Adapter -- Spin
User Story
As a developer deploying to Fermyon Spin, I want to use the EdgeZero KV store API, so that I can store and retrieve key-value data from my Spin application using the same interface as Fastly, Cloudflare, and Axum adapters.
Background
The
KvStoretrait andKvHandleare defined inedgezero-core. Fastly, Cloudflare, and Axum adapters all implement this trait. The Spin adapter currently has no store support — the manifest validator explicitly rejects[stores.kv]for Spin. Spin provides a native key-value component via thespin-sdkcrate.Acceptance Criteria
SpinKvStoretype implements theKvStoretrait fromedgezero-coreusing thespin-sdkkey-value APISpinKvStoreis exported fromedgezero-adapter-spinedgezero-corerecognisesspinas a supported KV store adapterkey_value_store_contract_tests!macro) pass forSpinKvStorecargo clippyandcargo fmtpassAffected Area
Adapter -- Spin