Replies: 2 comments
-
Reported again by another user: #2320 |
Beta Was this translation helpful? Give feedback.
0 replies
-
-sea-orm = { version = "0.12.15", features = [
+sea-orm = { version = "=1.0.0", default-features = false, features = [ |
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
-
The issue
My project uses a local
sea-orm-cli
(#1889) and only connects to PostgreSQL.Cargo.toml
has the following:If I comment out
sea-orm-cli
, thensea-orm
andsea-orm-migration
behave nicely and only pull insqlx-postgres
. However,sea-orm-cli
pulls insqlx-sqlite
andsqlx-mysql
. I'd like to avoid that.Details
Unlike other SeaQL crates,
sea-orm-cli
doesn't have any feature flags to control this behavior. The problem seems to originate here, where it pulls insea-schema/sqlx-all
:Why does it need that? Can this be avoided?
With some guidance, it's possible that I can contribute the missing flags myself.
Beta Was this translation helpful? Give feedback.
All reactions