Skip to content

Commit

Permalink
Fix SQLx version to ^0.5 (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1624 authored Jun 17, 2022
1 parent 00429f3 commit 483112b
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion tests/discovery/mysql/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
2 changes: 1 addition & 1 deletion tests/discovery/postgres/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
2 changes: 1 addition & 1 deletion tests/discovery/sqlite/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
sqlx = { version = "^0.5" }
2 changes: 1 addition & 1 deletion tests/live/mysql/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down
2 changes: 1 addition & 1 deletion tests/live/postgres/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
2 changes: 1 addition & 1 deletion tests/live/sqlite/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
] }
Expand Down
2 changes: 1 addition & 1 deletion tests/writer/mysql/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
2 changes: 1 addition & 1 deletion tests/writer/postgres/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
2 changes: 1 addition & 1 deletion tests/writer/sqlite/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
sqlx = { version = "^0.5" }

0 comments on commit 483112b

Please sign in to comment.