-
-
Notifications
You must be signed in to change notification settings - Fork 521
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #970 from ikrivosheev/feature/issues-969_sea-query…
…-binder issues-969 Replace sea-query-driver to sea-query-binder
- Loading branch information
Showing
24 changed files
with
227 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ authors = ["Chris Tsang <[email protected]>"] | |
edition = "2021" | ||
description = "🐚 An async & dynamic ORM for Rust" | ||
license = "MIT OR Apache-2.0" | ||
homepage = "https://www.sea-ql.org/SeaORM" | ||
documentation = "https://docs.rs/sea-orm" | ||
repository = "https://github.com/SeaQL/sea-orm" | ||
categories = ["database"] | ||
|
@@ -34,6 +35,7 @@ tracing = { version = "^0.1", features = ["log"] } | |
rust_decimal = { version = "^1", optional = true } | ||
sea-orm-macros = { version = "^0.10.0", path = "sea-orm-macros", optional = true } | ||
sea-query = { version = "^0.27", features = ["thread-safe"] } | ||
sea-query-binder = { version = "^0.1", optional = true } | ||
sea-strum = { version = "^0.23", features = ["derive", "sea-orm"] } | ||
serde = { version = "^1.0", features = ["derive"] } | ||
serde_json = { version = "^1.0", optional = true } | ||
|
@@ -45,6 +47,7 @@ once_cell = "1.8" | |
|
||
[patch.crates-io] | ||
sea-query = { git = "https://github.com/SeaQL/sea-query" } | ||
sea-query-binder = { git = "https://github.com/SeaQL/sea-query" } | ||
|
||
[dev-dependencies] | ||
smol = { version = "^1.2" } | ||
|
@@ -71,28 +74,45 @@ default = [ | |
] | ||
macros = ["sea-orm-macros"] | ||
mock = [] | ||
with-json = ["serde_json", "sea-query/with-json", "chrono/serde", "sqlx?/json"] | ||
with-chrono = ["chrono", "sea-query/with-chrono", "sqlx?/chrono"] | ||
with-rust_decimal = ["rust_decimal", "sea-query/with-rust_decimal", "sqlx?/decimal"] | ||
with-uuid = ["uuid", "sea-query/with-uuid", "sqlx?/uuid"] | ||
with-time = ["time", "sea-query/with-time", "sqlx?/time"] | ||
with-json = ["serde_json", "sea-query/with-json", "chrono/serde", "sea-query-binder?/with-json", "sqlx?/json"] | ||
with-chrono = ["chrono", "sea-query/with-chrono", "sea-query-binder?/with-chrono", "sqlx?/chrono"] | ||
with-rust_decimal = ["rust_decimal", "sea-query/with-rust_decimal", "sea-query-binder?/with-rust_decimal", "sqlx?/decimal"] | ||
with-uuid = ["uuid", "sea-query/with-uuid", "sea-query-binder?/with-uuid", "sqlx?/uuid"] | ||
with-time = ["time", "sea-query/with-time", "sea-query-binder?/with-time", "sqlx?/time"] | ||
sqlx-dep = [] | ||
sqlx-all = ["sqlx-mysql", "sqlx-postgres", "sqlx-sqlite"] | ||
sqlx-mysql = ["sqlx-dep", "sea-query/sqlx-mysql", "sqlx/mysql"] | ||
sqlx-postgres = ["sqlx-dep", "sea-query/sqlx-postgres", "sqlx/postgres"] | ||
sqlx-sqlite = ["sqlx-dep", "sea-query/sqlx-sqlite", "sqlx/sqlite"] | ||
sqlx-mysql = ["sqlx-dep", "sea-query-binder/sqlx-mysql", "sqlx/mysql"] | ||
sqlx-postgres = ["sqlx-dep", "sea-query-binder/sqlx-postgres", "sqlx/postgres"] | ||
sqlx-sqlite = ["sqlx-dep", "sea-query-binder/sqlx-sqlite", "sqlx/sqlite"] | ||
runtime-async-std = [] | ||
runtime-async-std-native-tls = [ | ||
"sqlx/runtime-async-std-native-tls", | ||
"sea-query-binder/runtime-async-std-native-tls", | ||
"runtime-async-std", | ||
] | ||
runtime-async-std-rustls = [ | ||
"sqlx/runtime-async-std-rustls", | ||
"runtime-async-std", | ||
] | ||
runtime-actix = [] | ||
runtime-actix-native-tls = ["sqlx/runtime-actix-native-tls", "runtime-actix"] | ||
runtime-actix-rustls = ["sqlx/runtime-actix-rustls", "runtime-actix"] | ||
runtime-actix-native-tls = [ | ||
"sqlx/runtime-actix-native-tls", | ||
"sea-query-binder/runtime-actix-native-tls", | ||
"runtime-actix", | ||
] | ||
runtime-actix-rustls = [ | ||
"sqlx/runtime-actix-rustls", | ||
"sea-query-binder/runtime-actix-rustls", | ||
"runtime-actix", | ||
] | ||
runtime-tokio = [] | ||
runtime-tokio-native-tls = ["sqlx/runtime-tokio-native-tls", "runtime-tokio"] | ||
runtime-tokio-rustls = ["sqlx/runtime-tokio-rustls", "runtime-tokio"] | ||
runtime-tokio-native-tls = [ | ||
"sqlx/runtime-tokio-native-tls", | ||
"sea-query-binder/runtime-tokio-native-tls", | ||
"runtime-tokio", | ||
] | ||
runtime-tokio-rustls = [ | ||
"sqlx/runtime-tokio-rustls", | ||
"sea-query-binder/runtime-tokio-rustls", | ||
"runtime-tokio", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ authors = [ "Billy Chan <[email protected]>" ] | |
edition = "2021" | ||
description = "Command line utility for SeaORM" | ||
license = "MIT OR Apache-2.0" | ||
homepage = "https://www.sea-ql.org/SeaORM" | ||
documentation = "https://docs.rs/sea-orm" | ||
repository = "https://github.com/SeaQL/sea-orm" | ||
categories = [ "database" ] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ authors = ["Billy Chan <[email protected]>"] | |
edition = "2021" | ||
description = "Code Generator for SeaORM" | ||
license = "MIT OR Apache-2.0" | ||
homepage = "https://www.sea-ql.org/SeaORM" | ||
documentation = "https://docs.rs/sea-orm" | ||
repository = "https://github.com/SeaQL/sea-orm" | ||
categories = ["database"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ authors = [ "Billy Chan <[email protected]>" ] | |
edition = "2021" | ||
description = "Derive macros for SeaORM" | ||
license = "MIT OR Apache-2.0" | ||
homepage = "https://www.sea-ql.org/SeaORM" | ||
documentation = "https://docs.rs/sea-orm" | ||
repository = "https://github.com/SeaQL/sea-orm" | ||
categories = [ "database" ] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ authors = [ "Billy Chan <[email protected]>" ] | |
edition = "2021" | ||
description = "Migration utility for SeaORM" | ||
license = "MIT OR Apache-2.0" | ||
homepage = "https://www.sea-ql.org/SeaORM" | ||
documentation = "https://docs.rs/sea-orm" | ||
repository = "https://github.com/SeaQL/sea-orm" | ||
categories = [ "database" ] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.