SeaQL / sea-orm

🐚 An async & dynamic ORM for Rust
https://www.sea-ql.org/SeaORM/
Apache License 2.0
6.57k stars 461 forks source link

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

Closed DenuxPlays closed 3 months ago

DenuxPlays commented 3 months ago

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