Closed tingfeng-key closed 2 years ago
The problem is that your workspace is not using feature resolver version 2. I have just added a note on this in the migration guide.
Usually adding edition = "2021"
does the trick, but in workspaces you need to set resolver = "2"
in the root Cargo.toml
.
Thank you. This method is useful to me. It can be compiled normally now
My sample code is here, 0.5.2 is no problem. But 0.6.0 compiles and reports an error