forked from boustrophedon/pgtemp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
33 lines (29 loc) · 838 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[package]
name = "pgtemp"
version = "0.3.0"
edition = "2021"
authors = ["Harry Stern <[email protected]>",]
description = "Start local postgres servers for testing without Docker"
repository = "https://github.com/boustrophedon/pgtemp"
license = "MIT"
[features]
cli = ["dep:clap"]
[dependencies]
tempfile = "^3"
libc = "^0.2"
url = "^2.5"
tokio = { version = "^1", features = ["full"] }
clap = { version = "^4.4", features = ["derive"], optional = true }
[dev-dependencies]
# testing and examples
sqlx = { version = "^0.7", features = [ "runtime-tokio", "postgres", "migrate" ] }
# examples
axum = { version = "^0.7", features = ["macros"] }
reqwest = "^0.11"
diesel = { version = "^2.1", features = ["postgres", "r2d2", ] }
diesel_migrations = "^2.1"
[[bin]]
name = "pgtemp"
test = false
bench = false
required-features = ["cli"]