DEV Community

Discussion on: Let's create a basic crud api with Rust using Tide

Collapse
 
pepoviola profile image
Javier Viola

Hi wabiledev,
Thanks for reading this serie 😃. That part of the serie is before of the refactor and you can check in this tag (github.com/pepoviola/tide-basic-cr...).
I'm checking now and compiles and works as expected, but with an older version of tide (0.13) are you using the last one?

Thanks again for reading 🙌😃

Collapse
 
wabiledev profile image
wabiledev

Hi Javier,

I am using rust version 1.51 and Tide version 0.16.

I eventually managed to compile the code after importing the line "use std::collections::hash_map::Entry;".

Thank you

Thread Thread
 
pepoviola profile image
Javier Viola

Hi wabiledev,
Thanks! Yes, you need that import before use the Entry api. I will add a note into the post :) . Again thanks for reading this serie and help me to improve it.

Thanks!