cloudflare / cloudflare/workers-rs

[BUG] Getting Started references old Wrangler, doesn't work as expected

Open
#378 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
3.7k
Forks
429
Avg merge
20h 28m
Merged PRs (30d)
7

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### What version of `workers-rs` are you using?

Newest

### What version of `wrangler` are you using?

3.5.1

### Describe the bug

Our "Getting Started" Information references an old version of Wrangler, and doesn't appear to work with either 2.x or the latest version. When I follow the steps in our guide, I end up with a default Javascript project being created. I don't get the expected src/lib.rs starting point.

### Steps To Reproduce

1. Run steps from Getting Started guide:
```
npm init cloudflare project_name worker-rust
cd project_name
```
2. Follow prompt from wrangler / create-cloudflare
3. Look inside the src/ folder that is created'
4. Observe that you see `worker.js` and no rust-specific template

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.