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:
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