Useful or not, from you.
swc error: a bin target must be available for `cargo run`

I got this error when tried to cargo run your project.

StackOverflow said it happens because of the absence of src/main.rs.

So, how to run your project locally?

rustc --version
rustc 1.36.0-nightly (7c71bc320 2019-04-30)
That's a useful answer
Without any help

Well, I want to contribute, not use)