Sea-ORM still includes sqlx-mysql dependency even when no mysql feature is enabled #2172
Unanswered
DenuxPlays
asked this question in
Q&A
Replies: 3 comments 3 replies
-
I am not seeing this behaviour on our repo's examples. May be some crate in the workspace of your repo enabled it? |
Beta Was this translation helpful? Give feedback.
3 replies
-
Pretty sure this is a cargo bug. Multiple people have run in to this issue with sqlx in particular. |
Beta Was this translation helpful? Give feedback.
0 replies
-
this bug comes back if you add any of the "with-xxxxx" features it seems |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I've added sea-orm like this:
And the sqlx-mysql dependency can still be found in the Cargo.lock file:
![image](https://private-user-images.githubusercontent.com/83671398/316121495-60fd93a2-46ad-4033-9192-538688e0ebab.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMTM5NjIsIm5iZiI6MTczOTExMzY2MiwicGF0aCI6Ii84MzY3MTM5OC8zMTYxMjE0OTUtNjBmZDkzYTItNDZhZC00MDMzLTkxOTItNTM4Njg4ZTBlYmFiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDE1MDc0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTcwMGE2MTI5NjQ2ODlkMWRmZWIzYTQ1YjZkZWRiMmE2YTg4NWE4ZjcyMDdmYzlhZDY1MDE5NGVkMDNiOTgzMWQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.75rphdcCFVEr92X6bfYm5vGmpuI0uJYUsNogBgvIuME)
Steps to Reproduce
Expected Behavior
Does not include this as a dependency
Actual Behavior
Includes it...
Reproduces How Often
Always
Workarounds
None known
Reproducible Example
https://github.com/financrr/financrr-app/tree/main/backend
Versions
v1.0.0-rc.2
Beta Was this translation helpful? Give feedback.
All reactions