Make mockable-todos example compile
This commit is contained in:
parent
7510316eb6
commit
6f363cf4ea
3 changed files with 16 additions and 2 deletions
13
Cargo.lock
generated
13
Cargo.lock
generated
|
@ -2424,6 +2424,19 @@ dependencies = [
|
|||
"sqlx",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "sqlx-example-postgres-mockable-todos"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"async-std",
|
||||
"dotenv",
|
||||
"futures",
|
||||
"paw",
|
||||
"sqlx",
|
||||
"structopt",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "sqlx-example-postgres-todos"
|
||||
version = "0.1.0"
|
||||
|
|
|
@ -11,6 +11,7 @@ members = [
|
|||
"examples/postgres/json",
|
||||
"examples/postgres/listen",
|
||||
"examples/postgres/todos",
|
||||
"examples/postgres/mockable-todos",
|
||||
"examples/sqlite/todos",
|
||||
]
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[package]
|
||||
name = "sqlx-example-postgres-todos"
|
||||
name = "sqlx-example-postgres-mockable-todos"
|
||||
version = "0.1.0"
|
||||
edition = "2018"
|
||||
workspace = "../../../"
|
||||
|
@ -9,6 +9,6 @@ anyhow = "1.0"
|
|||
async-std = { version = "1.4.0", features = [ "attributes" ] }
|
||||
futures = "0.3"
|
||||
paw = "1.0"
|
||||
sqlx = { path = "../../../", features = ["postgres", "offline"] }
|
||||
sqlx = { path = "../../../", features = ["postgres", "offline", "runtime-async-std-native-tls"] }
|
||||
structopt = { version = "0.3", features = ["paw"] }
|
||||
dotenv = "0.15.0"
|
||||
|
|
Loading…
Add table
Reference in a new issue