Skip to content

paul-asvb/cloudflare-rust-kv-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

Initalized using workers-rs.

This template is designed for compiling Rust to WebAssembly and publishing the resulting worker to Cloudflare's edge infrastructure.

DEMO

Prerequisities

rust toolchain and:

cargo install wrangler

release

wrangler build 
wrangler publish

log

wrangler tail | jq '.'

publish

make pub

Add kv store

 wrangler kv:namespace create "KV_FROM_RUST"

and copy request answer into wrangler.toml