From 7c5f2df69b8e72262bbe0c358c3567028a6feb09 Mon Sep 17 00:00:00 2001 From: ggirol-rc <130038106+ggirol-rc@users.noreply.github.com> Date: Tue, 15 Sep 2026 19:06:06 +0200 Subject: [PATCH] sea-orm-migration: don't depend on stream feature The stream feature was introduced in https://github.com/SeaQL/sea-orm/pull/3075 to be able to compile sea-orm without the `aliasable` crate. Unfortunately sea-orm-migration depends on fully featured sea-orm. This commit makes sea-orm-migration depend only on the features it requires from sea-orm. Resubmission of #3200 which was reverted because it needs to wait for sea-orm 2.1, as a minor breaking change. --- sea-orm-migration/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sea-orm-migration/Cargo.toml b/sea-orm-migration/Cargo.toml index 6d7d2cc3a..46ece0e27 100644 --- a/sea-orm-migration/Cargo.toml +++ b/sea-orm-migration/Cargo.toml @@ -25,7 +25,8 @@ clap = { version = "4.3", features = ["env", "derive"], optional = true } dotenvy = { version = "0.15", default-features = false, optional = true } sea-orm = { version = "~2.0.4", path = "../", features = [ "schema-sync", -] } + "macros", +], default-features = false } sea-orm-cli = { version = "~2.0.4", path = "../sea-orm-cli", default-features = false, optional = true } sea-schema = { version = "0.18.1", default-features = false, features = [ "discovery",