Skip to content

Commit

Permalink
Non TLS runtime (#2256)
Browse files Browse the repository at this point in the history
* Non TLS runtime

* Fix
  • Loading branch information
billy1624 authored Jun 19, 2024
1 parent 055dbf0 commit 42dae34
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sea-orm-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
6 changes: 6 additions & 0 deletions sea-orm-migration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -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" }

0 comments on commit 42dae34

Please sign in to comment.