You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to use any of the derive macros provided by rustorm (ToDao, FromDao, ToTableName, ToColumnNames) will fail to compile with the following error message: error[E0433]: failed to resolve: use of undeclared type or module `rustorm_dao`
Adding rustorm_dao = "0.5" as a dependency in Cargo.toml fixes this but since rustorm_dao is already a dependency of rustorm and this is not mentioned anywhere in the readme I am guessing this isn't supposed to be the case? If this is expected, it should probably be mentioned somewhere.
The text was updated successfully, but these errors were encountered:
This is a known issue, since at the time of writing, i had limited knowledge on procedural macros, specially in dealing with $crate dependencies. I will try to resolve this on the next version by reexporting rustorm_dao and then use this reexported $crate:rustorm_dao where where Dao is needed.
rustorm version: 0.17
rust version: 1.45.2
Attempting to use any of the derive macros provided by rustorm (ToDao, FromDao, ToTableName, ToColumnNames) will fail to compile with the following error message:
error[E0433]: failed to resolve: use of undeclared type or module `rustorm_dao`
Adding
rustorm_dao = "0.5"
as a dependency in Cargo.toml fixes this but since rustorm_dao is already a dependency of rustorm and this is not mentioned anywhere in the readme I am guessing this isn't supposed to be the case? If this is expected, it should probably be mentioned somewhere.The text was updated successfully, but these errors were encountered: