Skip to content
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

getting unresolved import tokio_serde::formats #27

Open
eldoccc opened this issue Mar 10, 2023 · 2 comments
Open

getting unresolved import tokio_serde::formats #27

eldoccc opened this issue Mar 10, 2023 · 2 comments

Comments

@eldoccc
Copy link

eldoccc commented Mar 10, 2023

hi,
Can't seem to be able to use it my code.

I did import tokio-serde = "0.8.0" in my dependencies, maybe I'm missing something ?

Though when i put use tokio_serde::SymmetricallyFramed in code for example it does recognize it.

@marcomole00
Copy link

I'm having the same issue.

@simono
Copy link

simono commented Mar 19, 2024

tokio_serde::formats is only available if one of the features json, bincode, messagepack, or cbor is activated. See https://doc.rust-lang.org/cargo/reference/features.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants