agreeable-parrot-72483
05/10/2023, 3:33 PMerror[E0277]: the trait bound `SalvoService: From<Router>` is not satisfied
--> src/main.rs:14:15
|
14 | Ok(router.into())
| ^^^^ the trait `From<Router>` is not implemented for `SalvoService`
|
= help: the trait `From<salvo_core::routing::router::Router>` is implemented for `SalvoService`
= note: required for `Router` to implement `Into<SalvoService>`
For more information about this error, try `rustc --explain E0277`.
error: could not compile `simplicity` due to previous error
I haven't yet changed anything in the project.
Thanks in advance! 🙂agreeable-painting-48846
05/10/2023, 3:35 PMagreeable-painting-48846
05/10/2023, 3:35 PMagreeable-parrot-72483
05/10/2023, 3:38 PM0.16.0
of cargo-shuttle
and my dependencies look like:
shuttle-runtime = "0.16.0"
salvo = "0.41.0"
shuttle-salvo = "0.16.0"
tokio = "1.28.1"
I literally just did cargo shuttle init
and picked the Salvo
option. After it created the project it wasn't able to build.agreeable-parrot-72483
05/10/2023, 3:39 PMagreeable-painting-48846
05/10/2023, 3:43 PMagreeable-parrot-72483
05/10/2023, 3:45 PMagreeable-painting-48846
05/10/2023, 3:49 PMbind
fn in the shuttle service trait: https://docs.shuttle.rs/tutorials/custom-servicekind-area-3810
05/10/2023, 5:52 PMagreeable-parrot-72483
05/11/2023, 12:43 PMgentle-ice-1561
05/11/2023, 6:49 PMgentle-ice-1561
05/11/2023, 6:51 PMgentle-ice-1561
05/11/2023, 6:52 PMshuttle-salvo
kind-area-3810
05/11/2023, 8:30 PMkind-area-3810
05/11/2023, 8:31 PMkind-area-3810
05/11/2023, 8:33 PMagreeable-parrot-72483
05/11/2023, 11:48 PM0.16.1
generally available? 🙂gentle-ice-1561
05/11/2023, 11:50 PMgentle-ice-1561
05/11/2023, 11:51 PMagreeable-parrot-72483
05/18/2023, 1:48 AMgentle-ice-1561
05/18/2023, 7:46 AMagreeable-parrot-72483
05/21/2023, 11:03 AMagreeable-parrot-72483
05/22/2023, 1:49 PMgentle-agency-53651
05/23/2023, 7:47 AMagreeable-parrot-72483
05/23/2023, 1:27 PM