`cargo` on cloudflare workers
Do I really need to build and deploy locally, because on cloudflare workers run it says cargo command not found?
There are various ways to deploy Rust directly that handle running the workers-rs project, although I haven't used one of these exact workflows to recommend here unfortnuately. If running locally you need cargo, which comes with Rust, which involves running curl https://sh.rustup.rs | sh && rustup target add wasm32-unknown-unknown.
There are various ways to deploy Rust directly that handle running the workers-rs project, although I haven't used one of these exact workflows to recommend here unfortnuately. If running locally you need cargo, which comes with Rust, which involves running
curl https://sh.rustup.rs | sh && rustup target add wasm32-unknown-unknown.
I already do it locally