diff --git a/sea-orm-cli/Cargo.toml b/sea-orm-cli/Cargo.toml index df039030..330fdd02 100644 --- a/sea-orm-cli/Cargo.toml +++ b/sea-orm-cli/Cargo.toml @@ -54,9 +54,17 @@ smol = "1.2.5" default = ["codegen", "cli", "runtime-async-std-native-tls", "async-std"] codegen = ["sea-schema/sqlx-all", "sea-orm-codegen"] cli = ["clap", "dotenvy"] +runtime-actix = ["sqlx/runtime-tokio", "sea-schema/runtime-actix"] +runtime-async-std = ["sqlx/runtime-async-std", "sea-schema/runtime-async-std"] +runtime-tokio = ["sqlx/runtime-tokio", "sea-schema/runtime-tokio"] runtime-actix-native-tls = ["sqlx/runtime-tokio-native-tls", "sea-schema/runtime-actix-native-tls"] runtime-async-std-native-tls = ["sqlx/runtime-async-std-native-tls", "sea-schema/runtime-async-std-native-tls"] runtime-tokio-native-tls = ["sqlx/runtime-tokio-native-tls", "sea-schema/runtime-tokio-native-tls"] runtime-actix-rustls = ["sqlx/runtime-tokio-rustls", "sea-schema/runtime-actix-rustls"] runtime-async-std-rustls = ["sqlx/runtime-async-std-rustls", "sea-schema/runtime-async-std-rustls"] runtime-tokio-rustls = ["sqlx/runtime-tokio-rustls", "sea-schema/runtime-tokio-rustls"] + +[patch.crates-io] +sea-schema = { git = "https://github.com/seaql/sea-schema", branch = "non-tls-runtime" } +sea-query = { git = "https://github.com/seaql/sea-query", branch = "non-tls-runtime" } +sea-query-binder = { git = "https://github.com/seaql/sea-query", branch = "non-tls-runtime" } diff --git a/sea-orm-migration/Cargo.toml b/sea-orm-migration/Cargo.toml index fced09be..f2742b21 100644 --- a/sea-orm-migration/Cargo.toml +++ b/sea-orm-migration/Cargo.toml @@ -40,6 +40,9 @@ sqlx-mysql = ["sea-orm/sqlx-mysql"] sqlx-postgres = ["sea-orm/sqlx-postgres"] sqlx-sqlite = ["sea-orm/sqlx-sqlite"] sqlite-use-returning-for-3_35 = ["sea-orm/sqlite-use-returning-for-3_35"] +runtime-actix = ["sea-orm/runtime-actix"] +runtime-async-std = ["sea-orm/runtime-async-std"] +runtime-tokio = ["sea-orm/runtime-tokio"] runtime-actix-native-tls = ["sea-orm/runtime-actix-native-tls"] runtime-async-std-native-tls = ["sea-orm/runtime-async-std-native-tls"] runtime-tokio-native-tls = ["sea-orm/runtime-tokio-native-tls"] @@ -52,3 +55,6 @@ with-rust_decimal = ["sea-orm/with-rust_decimal"] with-bigdecimal = ["sea-orm/with-bigdecimal"] with-uuid = ["sea-orm/with-uuid"] with-time = ["sea-orm/with-time"] + +[patch.crates-io] +sea-schema = { git = "https://github.com/seaql/sea-schema", branch = "non-tls-runtime" }