cloudflare / cloudflare/workers-rs

[BUG] npm init doesn't create a Rust project

Open
#370 0 comments 6 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?

0.0.18

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

3.5.0

### Describe the bug

I tried to create a new workers-rs project per the instructions in the README.md but the command generates me a JavaScript project instead.

### Steps To Reproduce

```
$ npm init cloudflare project_name worker-rust
$ cd project_name
$ ls
node_modules
package-lock.json
package.json
src
wrangler.toml
```

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.