SeaQL/sea-orm

Sea-ORM still includes sqlx-mysql dependency even when no mysql feature is enabled

DenuxPlays opened this issue · 0 comments

Description

I've added sea-orm like this:

sea-orm = { version = "1.0.0-rc.2", features = ["sqlx-postgres", "runtime-tokio-rustls", "macros", "mock"] }

And the sqlx-mysql dependency can still be found in the Cargo.lock file:
image

Steps to Reproduce

  1. add sea-orm like mentioned above
  2. search for sqlx-mysql in your Cargo.lock file

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