diff --git a/Cargo.toml b/Cargo.toml index eded2482..7a42db8c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,7 +37,7 @@ futures = { version = "0.3", optional = true } sea-schema-derive = { version = "0.1.0", path = "sea-schema-derive" } sea-query = { version = "^0.24.0" } serde = { version = "^1", features = ["derive"], optional = true } -sqlx = { version = "^0", optional = true } +sqlx = { version = "^0.5", optional = true } log = { version = "^0.4", optional = true } [features] diff --git a/tests/discovery/mysql/Cargo.toml b/tests/discovery/mysql/Cargo.toml index 45dba396..4a65aabe 100644 --- a/tests/discovery/mysql/Cargo.toml +++ b/tests/discovery/mysql/Cargo.toml @@ -8,6 +8,6 @@ publish = false async-std = { version = "1.8", features = [ "attributes", "tokio1" ] } sea-schema = { path = "../../../", default-features = false, features = [ "with-serde", "sqlx-mysql", "runtime-async-std-native-tls", "discovery", "debug-print" ] } serde_json = { version = "^1" } -sqlx = { version = "^0" } +sqlx = { version = "^0.5" } env_logger = { version = "^0" } log = { version = "^0" } \ No newline at end of file diff --git a/tests/discovery/postgres/Cargo.toml b/tests/discovery/postgres/Cargo.toml index 5fb5c9a3..4224462d 100644 --- a/tests/discovery/postgres/Cargo.toml +++ b/tests/discovery/postgres/Cargo.toml @@ -8,6 +8,6 @@ publish = false async-std = { version = "1.8", features = [ "attributes", "tokio1" ] } sea-schema = { path = "../../../", default-features = false, features = [ "with-serde", "sqlx-postgres", "runtime-async-std-native-tls", "discovery", "debug-print" ] } serde_json = { version = "^1" } -sqlx = { version = "^0" } +sqlx = { version = "^0.5" } env_logger = { version = "^0" } log = { version = "^0" } \ No newline at end of file diff --git a/tests/discovery/sqlite/Cargo.toml b/tests/discovery/sqlite/Cargo.toml index e3dd4468..cced03c4 100644 --- a/tests/discovery/sqlite/Cargo.toml +++ b/tests/discovery/sqlite/Cargo.toml @@ -8,4 +8,4 @@ publish = false async-std = { version = "1.8", features = [ "attributes", "tokio1" ] } sea-schema = { path = "../../../", default-features = false, features = [ "with-serde", "sqlx-sqlite", "runtime-async-std-native-tls", "discovery", "debug-print" ] } serde_json = { version = "^1" } -sqlx = { version = "^0" } \ No newline at end of file +sqlx = { version = "^0.5" } \ No newline at end of file diff --git a/tests/live/mysql/Cargo.toml b/tests/live/mysql/Cargo.toml index 6b9d9d0a..d475914f 100644 --- a/tests/live/mysql/Cargo.toml +++ b/tests/live/mysql/Cargo.toml @@ -8,7 +8,7 @@ publish = false async-std = { version = "1.8", features = [ "attributes", "tokio1" ] } sea-schema = { path = "../../../", default-features = false, features = [ "sqlx-mysql", "runtime-async-std-native-tls", "discovery", "writer", "debug-print" ] } serde_json = { version = "^1" } -sqlx = { version = "^0" } +sqlx = { version = "^0.5" } pretty_assertions = { version = "^0.7" } regex = { version = "^1" } env_logger = { version = "^0" } diff --git a/tests/live/postgres/Cargo.toml b/tests/live/postgres/Cargo.toml index 3c744d9f..f1a4ceba 100644 --- a/tests/live/postgres/Cargo.toml +++ b/tests/live/postgres/Cargo.toml @@ -8,6 +8,6 @@ publish = false async-std = { version = "1.8", features = [ "attributes", "tokio1" ] } sea-schema = { path = "../../../", default-features = false, features = [ "sqlx-postgres", "runtime-async-std-native-tls", "discovery", "writer", "debug-print" ] } serde_json = { version = "^1" } -sqlx = { version = "^0" } +sqlx = { version = "^0.5" } env_logger = { version = "^0" } log = { version = "^0" } \ No newline at end of file diff --git a/tests/live/sqlite/Cargo.toml b/tests/live/sqlite/Cargo.toml index 008a5093..dde4051b 100644 --- a/tests/live/sqlite/Cargo.toml +++ b/tests/live/sqlite/Cargo.toml @@ -17,7 +17,7 @@ sea-schema = { path = "../../../", default-features = false, features = [ "sqlite", ] } serde_json = { version = "^1" } -sqlx = { version = "0.5.9", features = [ +sqlx = { version = "^0.5", features = [ "sqlite", "runtime-async-std-native-tls", ] } diff --git a/tests/writer/mysql/Cargo.toml b/tests/writer/mysql/Cargo.toml index 9bdf6c2c..ebb6cd3f 100644 --- a/tests/writer/mysql/Cargo.toml +++ b/tests/writer/mysql/Cargo.toml @@ -8,6 +8,6 @@ publish = false async-std = { version = "1.8", features = [ "attributes", "tokio1" ] } sea-schema = { path = "../../../", default-features = false, features = [ "sqlx-mysql", "runtime-async-std-native-tls", "discovery", "writer", "debug-print" ] } serde_json = { version = "^1" } -sqlx = { version = "^0" } +sqlx = { version = "^0.5" } env_logger = { version = "^0" } log = { version = "^0" } \ No newline at end of file diff --git a/tests/writer/postgres/Cargo.toml b/tests/writer/postgres/Cargo.toml index ae6a6f93..b56f0429 100644 --- a/tests/writer/postgres/Cargo.toml +++ b/tests/writer/postgres/Cargo.toml @@ -9,6 +9,6 @@ pretty_assertions = { version = "^0.7" } async-std = { version = "1.8", features = [ "attributes", "tokio1" ] } sea-schema = { path = "../../../", default-features = false, features = [ "sqlx-postgres", "runtime-async-std-native-tls", "discovery", "writer", "debug-print" ] } serde_json = { version = "^1" } -sqlx = { version = "^0" } +sqlx = { version = "^0.5" } env_logger = { version = "^0" } log = { version = "^0" } diff --git a/tests/writer/sqlite/Cargo.toml b/tests/writer/sqlite/Cargo.toml index 20899432..b910df18 100644 --- a/tests/writer/sqlite/Cargo.toml +++ b/tests/writer/sqlite/Cargo.toml @@ -8,4 +8,4 @@ publish = false async-std = { version = "1.8", features = [ "attributes", "tokio1" ] } sea-schema = { path = "../../../", default-features = false, features = [ "sqlx-sqlite", "runtime-async-std-native-tls", "discovery", "writer", "debug-print" ] } serde_json = { version = "^1" } -sqlx = { version = "^0" } \ No newline at end of file +sqlx = { version = "^0.5" } \ No newline at end of file