mammoth-carpenter-16936
03/20/2023, 9:36 PMcargo shuttle run. It says:
Error: Your Shuttle project must be a binary.
It works with the hello world from cargo shuttle --rocket init
I did update the Cargo.toml by copy/pasting from the hello world, so I don't think that is the issue. In case it helps, here is my Cargo.toml:
[package]
name = "lilyplayer"
version = "0.1.0"
edition = "2021"
publish = false
[lib]
[dependencies]
shuttle-runtime = "0.12.0"
rocket = "0.5.0-rc.2"
shuttle-rocket = "0.12.0"
tokio = "1.26.0"
ureq = "2.4.0"
lazy_static = "1.4.0"
Any idea what can cause this error?agreeable-painting-48846
03/20/2023, 9:37 PM[lib] bitmammoth-carpenter-16936
03/20/2023, 9:37 PMagreeable-painting-48846
03/20/2023, 9:38 PMmammoth-carpenter-16936
03/20/2023, 9:39 PMagreeable-painting-48846
03/20/2023, 9:39 PMshuttle_runtime::main macro over the main function?mammoth-carpenter-16936
03/20/2023, 9:39 PMmammoth-carpenter-16936
03/20/2023, 9:39 PMagreeable-painting-48846
03/20/2023, 9:40 PMmammoth-carpenter-16936
03/20/2023, 9:43 PMcargo shuttle run worksmammoth-carpenter-16936
03/20/2023, 9:53 PMagreeable-painting-48846
03/20/2023, 9:53 PM