Skip to content

salvo 0.77.0 compile error #2010

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
zaijie1213 opened this issue Mar 13, 2025 · 3 comments
Open
1 task done

salvo 0.77.0 compile error #2010

zaijie1213 opened this issue Mar 13, 2025 · 3 comments
Labels
S-Triage Awaiting decision for what to do

Comments

@zaijie1213
Copy link

What happened?

shuttle-runtime = "0.53.0"
shuttle-salvo = "0.53.0"
salvo = "0.77.0"

Version

v0.5.3.0

Which operating system(s) are you seeing the problem on?

macOS

Which CPU architectures are you seeing the problem on?

ARM64

Relevant log output

Duplicate declaration

  • I have searched the issues and there are none like this.
@zaijie1213 zaijie1213 added the S-Triage Awaiting decision for what to do label Mar 13, 2025
@oddgrd
Copy link
Contributor

oddgrd commented Mar 14, 2025

Hey @zaijie1213, could you please share the error message in the ticket description?

@zaijie1213
Copy link
Author

Hey @zaijie1213, could you please share the error message in the ticket description?

--> src/main.rs:12:15
|
12 | Ok(router.into())
| ^^^^ the trait From<salvo::Router> is not implemented for SalvoService
|

@jonaro00
Copy link
Member

The version of salvo your crate uses has to match the version that shuttle-salvo depends on, which is currently 0.75.0, so if you downgrade it should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-Triage Awaiting decision for what to do
Projects
None yet
Development

No branches or pull requests

3 participants