Closed davidsmfreire closed 2 years ago
Hey @DavidFreire-FEUP, this error occured because you have mock
feature enabled. If you don't need mock connection, then you could opt-out from mock
feature.
Thanks for the fast response. I had forgot to disable default features! Sorry for the newbie mistake and thank you so much again :)
Welcome :P
In the dependencies of Cargo.toml:
sea-orm = {version = "0.5.0-rc.1", features = ["runtime-async-std-rustls"]}
Relevant code:
...
...
Any idea to why I could get this error during build? From the source code and examples I see that the Clone trait IS implemented for DatabaseConnection.